Discussion:
how to delete first few characters from all the elements of an array of strings
(too old to reply)
04998285626
2008-08-11 09:40:14 UTC
Permalink
hi I have a 2-dimensional array of strings length 104. I have to delete first 6 characters from all the elements of array and then change the strings to int. how to do it?? plz help
MikeS81
2008-08-11 09:40:15 UTC
Permalink
Hi 0499??,
you can use 2 for loops. cut first the 6 characters, you can use the string subset function, and convert it into a number (decimal string to number).
Mike
LiciaP
2008-08-11 10:10:09 UTC
Permalink
Attached you can find the screenshot showing how to do so.
Bye!
Licia


array.jpg:
Loading Image...
04998285626
2008-08-11 10:40:04 UTC
Permalink
thnx all I got the solution..........:smileyhappy:

Continue reading on narkive:
Loading...