LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to delete first few characters from all the elements of an array of strings

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
0 Kudos
Message 1 of 4
(3,511 Views)

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

Message 2 of 4
(3,508 Views)
Attached you can find the screenshot showing how to do so.
Bye!
Licia
Message 3 of 4
(3,501 Views)
thnx all

I got the solution..........Smiley Happy
0 Kudos
Message 4 of 4
(3,495 Views)