• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading character from a string array

 
amal shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
got stuck at the following instance:

say for example i have String s[]={"amal","shah"}
now here s[0] has value amal...now i want to read characters from the array s[0].....i initially thought of using parseType method for converting string to char...but found out that this method is applicable for converting strings to numeric values...unable to get through...help apprecited.

thanking you
amal shah
 
Srikanth Basa
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you wish to process character by character.

[ August 17, 2006: Message edited by: Srikanth Basavaraju ]
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
amal shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks srikanth and gowher...got it.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic