Class StartsWith

  • All Implemented Interfaces:
    Scalar<Boolean>

    public final class StartsWith
    extends Object
    implements Scalar<Boolean>
    Determines if text starts with a given prefix.

    There is no thread-safety guarantee.

    Since:
    0.44
    • Constructor Detail

      • StartsWith

        public StartsWith​(Text text,
                          Text prefix)
        Ctor.
        Parameters:
        text - The text
        prefix - The prefix
      • StartsWith

        public StartsWith​(CharSequence text,
                          CharSequence prefix)
        Ctor.
        Parameters:
        text - The text
        prefix - The prefix