11-25-2012 10:37 PM
Hi guys
How to pick each character of a string containing few character without using a loop. Like "LabVIEW" will become a array of string "L","a","b" etc
Thanks in advance
Niladri
11-25-2012 10:44 PM - edited 11-25-2012 10:45 PM
Why would you not want to use a loop?
You could use String Subset in a loop to get each byte.
You could alsoe use String to U8 array to get an array of bytes. Then convert that back to individual string characters by using the typecast function in a loop with autoindexing turned on.
11-25-2012 11:03 PM
Thanks for replying
Yes i am exactly using that method but my string contains 128 chracter and it takes some ms to execute that task i want to execute in under 1ms
How to do that?
Thanks in advance
11-25-2012 11:27 PM - edited 11-25-2012 11:28 PM
Unless your computer is ancient, it shouldn't take msecs for that simple operation, especially given a string size of only 128 characters. How did you arrive at the timing exactly?