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
(109 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
(75 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
(63 Views)
Solution
Accepted by topic author V.Life

I managed with Match Pattern

Message 4 of 4
(44 Views)