↓ Static

public static define() Defines a new Wrapper instance with the provided opening, closing chars, and optional text.

public static isWrapper() The method checks if the value of any type is an instance of the Wrapper of any, or given opening, closing chars, and text.

public static replaceClosing() Replaces given closing chars with a given replacement value at the end of the given text.

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.

Last updated