Splits the underlying string into the segments that are delimited by the given character.
Splits the underlying string into the segments that are delimited by the given character. The delimiter itself is never a part of any segment. If the string does not contain the delimiter the result is a List containing only the underlying string. Note that this implementation differs from the original String.split(...) method in that leading and trailing delimiters are NOT ignored, i.e. they trigger the inclusion of an empty leading or trailing empty string (respectively).
Returns the ASCII encoded bytes of this string.
Lazily splits the underlying string into the segments that are delimited by the given character.
Lazily splits the underlying string into the segments that are delimited by the given character. Only the segments that are actually accessed are computed. The delimiter itself is never a part of any segment. If the string does not contain the delimiter the result is a single-element stream containing only the underlying string. Note that this implementation differs from the original String.split(...) method in that leading and trailing delimiters are NOT ignored, i.e. they trigger the inclusion of an empty leading or trailing empty string (respectively).
If the underlying string is null the method returns the empty string, otherwise the underlying string.
Tests two strings for value equality avoiding timing attacks.
Tests two strings for value equality avoiding timing attacks. Note that this function still leaks information about the length of each string as well as whether the two strings have the same length.
Returns Some(String) if the underlying string is non-emtpy, None otherwise