Skip to content

removeBOM

removeBOM(data) → data · XML

Remove the Byte Order Mark (BOM) if present at the start of the data. See Chapter 22.

  • data (required): binary or string data
utlx
let clean = removeBOM($input.fileContent)

Released under AGPL-3.0.