Convert a String to a long In the BlackBerry® IDE text editor, type a string. Select the string. Right-click the string. Click Convert "string" to Long. Related topic Finding and replacing text