Forums
Toggle Search
E Ink Everything
Retro Gaming
ChatGPT & AI
Security
Mobile
Automotive
Computing
AR & VR
Online
Club CrackBerry
BlackBerry Forums
Other Categories
Answer / Ask a Question
Reviews
Deals
Contests
Newsletter
Help & How To
News & Rumors
Log in
or
Sign up
Brightness
Light Mode
Dark Mode
© Journey Commerce Inc.
Terms & Conditions
Privacy Policy
CREATE
YOUR
ACCOUNT
ASK A QUESTION
TRENDING:
Blackberry Z3 stuck at connect to mobile/wifi network
116
Turn off pairing mode
108
Forum
BlackBerry Developers
Developers Lounge
Convert String to Integer
02-10-08 02:42 PM
tools
Advanced Search
View First Unread
Show Printable Version
26
https://forums.crackberry.com/showthread.php?t=18028&s=&p=130363&viewfull=1#post130363
FromTreoToBlackberry
Hello,
I have a question about the Blackberry JDK:
How do I convert a string (in which a integer is) into a read integer?
Is there a function like that: i = strToInt(string); ?
Please help me,
Thanx
02-10-08 02:13 PM
Like
0
419
https://forums.crackberry.com/showthread.php?t=18028&s=&p=130390&viewfull=1#post130390
pgregory
In Java you would do something like this:
int theNumber = Integer.parseInt(theString)
It may work in the blackberry JDK too.
02-10-08 02:42 PM
Like
0
Forum
BlackBerry Developers
Developers Lounge
Convert String to Integer
«
plazmic icons
|
How to get MIME type of media file running in Blackberry media player?.
»
LINK TO POST COPIED TO CLIPBOARD