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

Posts: 90
Registered: ‎04-03-2012
My Device: 9100
My Carrier: movilnet

Re: Remove breakline from String

well i try ur solutions, but dont work, try simply way just get a length of the string and make subString from 0 t URL_DIRTY - 2



	URL_DIRTY = new String(IOUtilities
										.streamToBytes(is), "UTF-8");								
								URL_SHORT = URL_DIRTY.substring(0, URL_DIRTY.length() - 2);	

 and that works thanks anyway