String Subset Function

LabVIEW 2017 Help

Edition Date: March 2017

Part Number: 371361P-01

»View Product Info
Download Help (Windows Only)

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.


Not Helpful