Skip to content

stripBOM

stripBOM(string) → string · XML

Remove the BOM character (U+FEFF) from the beginning of a string. See Chapter 22.

  • string (required): string that may start with BOM
utlx
let clean = stripBOM($input.fileContent)

Released under AGPL-3.0.