textReplaceOpening()
Wrapper.prototype.textReplaceOpening()
Wrapper.prototype.textReplaceOpening()
Replaces the opening
chars of the Wrapper
object in the text
of the Wrapper
object with the given opening
chars.
The replacement succeeds if the opening characters exist at the beginning of the text.
wrapper.class.ts
Parameters
opening: string
opening: string
The opening chars of string
to replace in the text
(part of the primitive value).
Returns
The return value is the text
of string
type with replaced opening
chars.
Example usage
Last updated