textReplaceClosing()
Wrapper.prototype.textReplaceClosing()
Wrapper.prototype.textReplaceClosing()
Replaces the closing
chars of the Wrapper
object in the text
of the Wrapper
object with the given closing
chars.
The replacement succeeds if the closing characters exist at the end of the text.
wrapper.class.ts
Parameters
closing: string
closing: string
The closing 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 closing
chars.
Example usage
Last updated