@stdlib/string
Version:
String manipulation functions.
23 lines (16 loc) • 345 B
Plain Text
{{alias}}( str )
Removes a UTF-8 byte order mark (BOM) from the beginning of a `string`.
Parameters
----------
str: string
Input string.
Returns
-------
out: string
String with BOM removed.
Examples
--------
> var out = {{alias}}( '\ufeffbeep' )
'beep'
See Also
--------