Replace Substring Function

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: String Functions

Requires: Base Development System

Inserts, deletes, or replaces a substring at the offset you specify in string.


string is the string in which you want to replace characters.
substring contains the substring that replaces length characters at offset in string.
offset determines the number of characters into string at which the function places substring.
length determines the number of characters in string to replace with substring. If substring is empty, length characters are deleted starting at offset.
result string contains the edited string with the replaced characters.
replaced substring contains the characters that were replaced in string.

Replace Substring Details

The Replace Substring function deletes length characters in string starting at offset, and replaces the deleted portion with substring. If length is 0, the Replace Substring function inserts substring at offset. If substring is empty, the Replace Substring function deletes length characters at offset.


Not Helpful