- Table of contents
- API
StrKits.isUpperCase()
StrKits.isSpecialCharacter()
StrKits.strip(subject: string, characters: string | string[] | Readonly<string[]>)
StrKits.removedMultiplesCharacters()
StrKits.replaceRange()
StrKits.transform
Work like String strip()
in python
. See Python String strip() Method
import StrKits, { strip } from 'strkits';
const txt:string = ",,,,,rrttgg.....banana....rrr"
console.log(StrKits.strip(txt, ",.grt"));
// banana
console.log(strip(txt, ",.grt"));
// banana