import { SPECIAL_CHAR } from "./Regex"; export function trimSpecial(str?: string): string { // @ts-ignore if (!str) return; return str.replace(SPECIAL_CHAR, "").trim(); }