Wrapper
The Wrapper
is an extension of the Wrap
object, which means it represents the immutable wrap of the opening and closing with the additional main ability to use it to wrap string. It can also define the wrap in a restricted characters range.
Instance accessors
Static methods
Gets the allowed characters of the AllowedChars
type from the static Wrapper
.
The method checks if the value of any type is an instance of the Wrapper
.
The method sets the default pattern of allowed characters for static Wrapper
.
Instance methods
The method checks if the provided text
is wrapped with the wrap of the specified Wrapper
object.
Checks if the provided text
has a closing of the specified Wrapper
object.
Checks if the provided text
has an opening of the specified Wrapper
object.
Returns the unwrapped text, without the opening and closing of the Wrapper
.
Last updated
Was this helpful?