Preparing search index...
The search index is not available
@maxgraph/core
@maxgraph/core
stringUtils
replaceTrailingNewlines
Function replaceTrailingNewlines
Replaces each trailing newline with the given pattern.
replace
Trailing
Newlines
(
str
,
pattern
)
:
string
Parameters
str
:
string
pattern
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@maxgraph/core
Loading...
Replaces each trailing newline with the given pattern.