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.


icon

Inputs/Outputs

  • cstr.png string

    string is the input string. The default is an empty string.

  • cstr.png true string

    If true string matches string, selection is TRUE.

  • cstr.png false string

    If false string matches string, selection is FALSE.

  • istr.png output string

    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.

  • ibool.png selection

    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.