Companion object for class NEString.
Attributes
Members list
Value members
Concrete methods
Constructs a new NEString given at least one character.
Constructs a new NEString given at least one character.
Value parameters
- firstChar
-
the first character (with index 0) contained in this
NEString - otherChars
-
a varargs of zero or more other characters (with index 1, 2, 3, ...) contained in this
NEString
Attributes
Optionally construct a NEString containing the characters, if any, of a given Seq.
Optionally construct a NEString containing the characters, if any, of a given Seq.
Value parameters
- seq
-
the
SeqofCharwith which to construct aNEString
Attributes
- Returns
-
a
NEStringcontaining the elements of the givenSeq, if non-empty, wrapped in aSome; elseNoneif theSeqis empty
Variable argument extractor for NEStrings.
Variable argument extractor for NEStrings.
Value parameters
- NEString:
-
the
NEStringcontaining the elements to extract
Attributes
- Returns
-
an
Seqcontaining thisNEStrings elements, wrapped in aSome