Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel
Accepted Solution

How we can remove the space present in the string in BlackBerry??

Hi,

 

Suppose i have string like "New York". How can i remove the space between and make it like "NewYork". As BlackBerry is not supporting the replaceAll() method of Java, i am not able to make it.

 

Thanks..

Developer
Posts: 19,623
Registered: ‎07-14-2008
My Device: Not Specified

Re: How we can remove the space present in the string in BlackBerry??

StringUtilities.removeChars(...)