search API (or start typing anywhere)
Unifill
mint.core.unifill.Unifill
Unifill provides Unicode-code-point-wise methods on Strings. It is ideally used with ‘using Unifill’ and then acts as an extension to the String class.
class
Methods
uCharAtinlinestatic
uCharAt(s:String, index:Int) : StringReturns the character at position
index by code points of String s.
uCharCodeAtinlinestatic
uCharCodeAt(s:String, index:Int) : IntReturns the code point as Int at position
index by code points of String s.
uCodePointAtinlinestatic
uCodePointAt(s:String, index:Int) : mint.core.unifill.CodePointReturns the code point at position
index by code points of String s.
uComparestatic
uCompare(a:String, b:String) : IntCompares String
a and b.
uIndexOfinlinestatic
uIndexOf(s:String, value:String, startIndex:Int) : IntReturns the position of the leftmost occurence of the str within String
s.
`startIndex` is counted by code points.</span>
uIteratorinlinestatic
uIterator(s:String) : mint.core.unifill.CodePointIterReturns an iterator of the code points of String
s.
uLastIndexOfinlinestatic
uLastIndexOf(s:String, value:String, startIndex:Int) : IntReturns the position of the rightmost occurence of the str within String
s.
`startIndex` is counted by code points.</span>
uLengthinlinestatic
uLength(s:String) : IntReturns the number of Unicode code points of String
s.
uSplitinlinestatic
uSplit(s:String, delimiter:String) : Array<String>Splits String
s at each occurence of delimiter.
uSubstrinlinestatic
uSubstr(s:String, startIndex:Int, length:Int) : StringReturns
length characters of String s, starting at position startIndex.
`startIndex` and `length` are counted by code points.</span>
uSubstringinlinestatic
uSubstring(s:String, startIndex:Int, endIndex:Int) : StringReturns the part of String
s from startIndex to endIndex.
`startIndex` and `endIndex` are counted by code points.</span>
uToStringinlinestatic
uToString(codePoints:Iterable<mint.core.unifill.CodePoint>) : StringConverts
codePoints to string.
