Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.text_2

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > Text_2

Text_2 class

Operations for working with strings that contain text.

Signature:

export default class Text

Remarks

The utilities provided by this class are intended to be simple, small, and very broadly applicable.

Methods

Method Modifiers Description
format(s, values) static Format a string by substituting parameters.
replaceAll(input, searchValue, replaceValue) static Returns the input string, with all instances of searchValue replaced by replaceValue.
Clone this wiki locally