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: 

Search and replace substring

Solved!
Go to solution

I can't make the function Search and replace string work. I attached an image of the code and the string I receive. The function retrurns always 0 replacements.

I replace the substring with an identical substring because I only want to know if the substring is present in the whole string I receive and I can't find other useful functions.

Thank you

0 Kudos
Message 1 of 4
(1,871 Views)

Maybe you need to set Multiline to True

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(1,837 Views)

can you post your entire and exact input string? Because it works find here (I used a different but similar input to yours). Match Pattern also works if you want to try it.

Basjong53_0-1754303969184.png

 

0 Kudos
Message 3 of 4
(1,825 Views)
Solution
Accepted by V.Life

I managed with Match Pattern

Message 4 of 4
(1,806 Views)