Match True/False String Function

Owning Palette: Additional String VIs and Functions

Requires: Base Development System

Examines the beginning of string to see whether it matches true string or false string. This function returns a Boolean TRUE or FALSE value in selection, depending on whether string matches true string or false string.

 Add to the block diagram  Find on the palette
string is the input string. The default is an empty string.
If true string matches string, selection is TRUE.
If false string matches string, selection is FALSE.
output string is a shortened version of string with the matching substring removed if either true string or false string matches the beginning of string. If neither true string nor false string matches the beginning of string, output string returns string unchanged.
selection is TRUE if true string matches the beginning of string, and FALSE if false string matches the beginning of string, or if neither string matches.