ni.com is currently undergoing scheduled maintenance.

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

Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

labview String use

Solved!
Go to solution

how to use String?  VIsa give it  some words,how to get part of that words?  i want  cut words to many parts.And throw some words i don"t.

1110340055

0 Kudos
Message 1 of 3
(5,886 Views)
Solution
Accepted by demom

Hello,

 

The String Subet function basically extracts a subset of strings from a string. For instance, lets say we want to extract the word view from the word labview. The function will look like this:

substring.png

 

Where:

 

3 is the offset, the starting position. The first character of a string is zero.

4 is the length.  

 

So, basically we are taking 4 characters starting at position 3.

 

Hope this helps, for LabVIEW questions I recommend you the LabVIEW Discussion Forum

 

Regards,

Fernando D.
National Instruments

0 Kudos
Message 2 of 3
(5,864 Views)

thanks

0 Kudos
Message 3 of 3
(5,580 Views)