![]() |
|||
How to store each individuals characters into a variable?
By: rekha singh | 27 Mar 2010 1:03 pm
Hi, I have to know how to split the characters from a string and store it in a separate variable?. The string used is "hello" . I want to store the characters h,e,l,l,o into a single array. For Example, the string "hello" is given through the textbox. I need to store it in a array named "a". (i.e) a[0]=h Comments using an array list:
By: rekha singh | 27 Mar 2010
I would probably start by taking the length of the input and using a for-next loop, something like:
By: rekha singh | 27 Mar 2010
How about this:
By: rekha singh | 27 Mar 2010
|
