Timestream.substring

Timestream.substring(start=None, end=None)

Return a Timestream with a substring between the start and end indices.

Parameters:
  • start (Optional[int], default: None)

    The inclusive index to start at. None indicates the beginning

    of the string. Negative indices count backwards from the end of

    the string.

  • end (Optional[int], default: None)

    The exclusive index to end at. None indicates the length of

    the string. Negative indices count backwards from the end of

    the string.

Notes

Returns the substring starting at start (inclusive) up to but not including the end. If the input is null, returns null. If end > start an empty string is returned.