-
Notifications
You must be signed in to change notification settings - Fork 0
Functions String
Jason Barr edited this page Sep 22, 2021
·
2 revisions
A functional, curried interface to the JavaScript String type, plus other useful functions.
charAtcharCodeAtcodePointAtendsWithfromCharCodefromCodePointlocaleComparematchmatchAllnormalizepadEndpadStartrepeatreplacereplaceAllsearchsplit-
startsWith- curried version -
startsWithFromStart- always starts from the beginning of the string strConcatstrFrom-
strIncludes- curried version -
strIncludesFromStart- always starts from beginning of the string strIndexOfstrIndexOfFromStartstringstrLastIndexOfstrLastIndexOfFromEndstrLen-
strSlice- Python-style slicing -
strSliceC- curried version, all args mandatory strTosubstringtoLocaleLowerCasetoLocaleUpperCasetoLowerCasetoUpperCasetrimtrimEndtrimStart