scrubControlChars

Function

Returns a new string with all control characters removed.

Doesn't remove characters from input string.

  • scrubControlChars(str: string) : string

Parameters

Parameter Type Default Notes
str Required string

the string to scrub

Returns

string

Function defined in packages/arcgis-rest-portal/src/util/scrub-control-chars.ts:11