Table Of Contents

String Subset (G Dataflow)

Version:
    Last Modified: March 2, 2017

    Returns a portion, or substring, of a string.

    connector_pane_image
    datatype_icon

    string

    The string from which you want to obtain a subset.

    datatype_icon

    offset

    The number of bytes into the input string at which this node begins its operation.

    The offset of the first byte in the input string is 0. If offset is beyond the end of the input string, this node returns an empty string.

    spd-note-note
    Note  

    Strings are encoded in UTF-8. For strings containing characters in the U+0000 through U+007F range, the number of bytes in a string is equivalent to the number of characters. However, for strings containing the characters U+0080 through U+7FFFFFFF, the number of bytes is greater than the number of characters.

    Default: 0

    datatype_icon

    length

    The number of bytes you want to include in the substring.

    If length is negative or 0, this node returns an empty string.

    spd-note-note
    Note  

    Strings are encoded in UTF-8. For strings containing characters in the U+0000 through U+007F range, the number of bytes in a string is equivalent to the number of characters. However, for strings containing the characters U+0080 through U+7FFFFFFF, the number of bytes is greater than the number of characters.

    Default: The entire length of string minus offset.

    datatype_icon

    substring

    The portion of the input string that is the specified length beginning at the offset.

    spd-note-note
    Note  

    Strings are encoded in UTF-8. For strings containing characters in the U+0000 through U+007F range, the number of bytes in a string is equivalent to the number of characters. However, for strings containing the characters U+0080 through U+7FFFFFFF, the number of bytes is greater than the number of characters.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics