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: 

Need help to split a string

Solved!
Go to solution

Hi ,

 

    Im needing help to split a string like this .. A,B,C,ADV,ASDAS,ASDASDASD,AsDASD, ...instead of leters ll be numbers , but i get it using a string ... Need split it to put in a vector ,, each number in each position ....

Someone can help me ?  ..

Im using labview 6  ..

Here is the print screen of my logic ....  

0 Kudos
Message 1 of 3
(27,326 Views)
Solution
Accepted by topic author faelnpaiva

Hi faelnpaiva,

 

all you need is "Spreadsheet string to array" with a "," as delimiter...

string.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(27,304 Views)

Not sure what you are trying to do. Are you trying to take a string of comma seperated values and place them into an array? Have you tried the "string to spreadsheet array" function in the strings palette? It allows you to input a delimited string, select the delimiter (comma, tab, etc.) to parse the string, connect a template array (1 D or 2D of teh type of expected output, numeric or text if you just want).

 

 

Slow typer!

 

Message Edited by LV_Pro on 02-12-2010 12:07 PM
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 3 of 3
(27,297 Views)