LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to replace all spaces with tabs?

Solved!
Go to solution

I wrote a program that reads a file and adds a number everytime the file has a tab. I want to make it so any spaces in the file turn into a tab and continues to add a number to the file. I can provide the program if needed, any help is greatly appreciated, thank you

0 Kudos
Message 1 of 2
(2,680 Views)
Solution
Accepted by topic author kylehelp123

Read the entire file as a string, use "search and replace string" with the desired characters as inputs (and using replace all=true), write it back to the file.

Message 2 of 2
(2,663 Views)