ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

split string

Hi,

 

How do I split a string of say 10000 characters into a column  of 4 characters each row?

 

Thanks

sbz 

0 Kudos
Message 1 of 6
(3,887 Views)
Here's one implementation that could help.
Andy Chang
National Instruments
0 Kudos
Message 2 of 6
(3,874 Views)

hi ,

  Please look at the attachment .

 

 

T hanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 6
(3,858 Views)
String -> String to byte array -> Reshape array. Then you'll have a table of characters which can be 4 characters wide. /Y
G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 6
(3,846 Views)

Thanks to all guys.

sbz 

0 Kudos
Message 5 of 6
(3,813 Views)

Once again I'll extol the virtues of Search and Replace.

 

SplitString.png

Message 6 of 6
(3,804 Views)