Complete the following steps to replace text in a string.
Select the Replace Substring function from the Functions»String palette and place it on the block diagram.
Wire the string in which you want to replace text to the string input of the Replace Substring function.
Enter the replacement text in the substring input of the Replace Substring function.
In the offset input of the Replace Substring function, enter the number of characters into string where you want to start replacing text. For example, to start replacing text after the fifth character in string, enter 5 in offset.
Wire the result string output of the Replace Substring function to a string indicator or VI or function that accepts a string as an input.
Run the VI. The replaced substring output of the Replace Substring function returns the text you replaced.