Methods

Static

public static replaceOpening() Replaces given opening chars with a given replacement value at the beginning of the given text.

public static unwrap() The method returns the given text without the given opening and closing chars.

Instance

public isClosingIn() Determines whether the provided text has the closing chars of the specified Wrapper object at the end.

public toArray() Returns an array consisting of the opening chars, text, and closing chars.

public toWrap() Returns the Wrap instance consists of the text, opening and closing chars of the Wrapper object.

public unwrap() Returns the text without the opening and closing chars.

Last updated

Was this helpful?