String Subset 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

Returns the substring of the input string beginning at offset and containing length number of characters.

The connector pane displays the default data types for this polymorphic function.

string is the input string.
offset specifies number of characters into string at which the function starts searching for a match. offset must be numeric. The offset of the first character in string is 0. If offset is unwired or less than 0, the function takes offset as 0.
length must be numeric. If length is left unwired, the default is the length of string minus offset.
substring is empty if offset is greater than the length of the string or if the length is less than or equal to 0. If length is greater than or equal to the length of string minus offset, substring is the remainder of string beginning at offset.

WAS THIS ARTICLE HELPFUL?

Not Helpful