LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search and Replace vi adds new text behind initial input when search critera is a empty string.

Can anyone tell me what I am doing wrong?

Want output to show N/A when nothing is entered in input string and to show the input string if something exists...

 

The output of the attached VI is expected it to be Larron, but instead is outputting LarronN/A.

 

Is there a way to make this VI do this without having to make a VI with an and/or component added to it?

 

0 Kudos
Message 1 of 3
(1,895 Views)

Right-Click the S&R function and select 'Regular Expression'

Search for ^$, replace with 'N/A'

0 Kudos
Message 2 of 3
(1,889 Views)

Thank You for the help

0 Kudos
Message 3 of 3
(1,886 Views)