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

Web and WebWorks Development

Reply
Developer
srk2012
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520

Re: How to cut the length of the string i.e channel name here if it exceeds 20 characters or letters. The channel name is dynamically parsed from the xml sheet/file.

channel['name'].substr(0,19)   worked actually.

 

Thank u very much.

 

 

Can u please   go thru my other post

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-hide-a-url-in-the-web-bro...

 

 

and answer it pls