Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Java
TypeCasting Array
TypeCasting Array
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
snowfall
New Member
Join Date:
Aug 2007
Posts:
56
#1
TypeCasting Array
Jan 28 '08, 06:41 AM
Hi all,
How to TypeCast a String Array to Integer Array??
TIA...
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Jan 28 '08, 07:12 AM
Originally posted by
snowfall
Hi all,
How to TypeCast a String Array to Integer Array??
TIA...
How would you cast a String to an Integer?
Comment
Post
Cancel
snowfall
New Member
Join Date:
Aug 2007
Posts:
56
#3
Jan 28 '08, 10:06 AM
Originally posted by
r035198x
How would you cast a String to an Integer?
new Integer(Integer .parseInt(Strin gName))
In my program my string array has numbers..
ie) String a[]={"1","2","3" };
Comment
Post
Cancel
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#4
Jan 28 '08, 10:14 AM
Originally posted by
snowfall
new Integer(Integer .parseInt(Strin gName))
In my program my string array has numbers..
ie) String a[]={"1","2","3" };
You'll need to loop through the array doing that for each of the strings.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment