This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.

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