Click to See Complete Forum and Search --> : Get a char from a string?
|2eM!x
Nov 16th, 2006, 02:48 PM
Well using String.substring() I thought maybe would return a char if you only used one letter, and casting (char) to it did not work either. Is there a way I can convert it? Or is there some type of String.charAt(0) to get one letter in char format?
manavo11
Nov 16th, 2006, 03:12 PM
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#charAt(int) ?
What am i missing? Or did you answer your own question already? :)
|2eM!x
Nov 16th, 2006, 09:30 PM
Oh I thought charAt was a vb.net function, well i guess thanks :S)
manavo11
Nov 17th, 2006, 02:39 AM
Well, not exclusively apparently :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.