Skip to main content

deno_string

tag Build Status license

Deno string utils.

Usage

import { stripBom } from "https://deno.land/x/string/mod.ts";
stripBom('\uFEFFjustjavac');
// => 'justjavac'

or

import stripBom from "https://deno.land/x/string/stripBom.ts";
stripBom('\uFEFFjustjavac');
// => 'justjavac'

Supported functions

function Description
stripBom Strip UTF-8 byte order mark (BOM) from a string

License

deno_string is released under the MIT License. See the bundled LICENSE file for details.