With concern of the functionality both of these works same. The most evaluated parameter has been performance - even with that it is minor of 5-7%. So unless, you have millions iterations to be performed with strings, you don't have to get worried about the performance of them.
String functions are faster.
The same is true with toLower and LCase.
Asked In: Many Interviews |