AbstractUnicodeString
        
        extends AbstractString
    
    
            
            in package
            
        
    
    
    
        
            Represents a string of abstract Unicode characters.
Unicode defines 3 types of "characters" (bytes, code points and grapheme clusters). This class is the abstract type to use as a type-hint when the logic you want to implement is Unicode-aware but doesn't care about code points vs grapheme clusters.
Tags
Table of Contents
- NFC = Normalizer::NFC
 - NFD = Normalizer::NFD
 - NFKC = Normalizer::NFKC
 - NFKD = Normalizer::NFKD
 - PREG_OFFSET_CAPTURE = PREG_OFFSET_CAPTURE
 - PREG_PATTERN_ORDER = PREG_PATTERN_ORDER
 - PREG_SET_ORDER = PREG_SET_ORDER
 - PREG_SPLIT = 0
 - PREG_SPLIT_DELIM_CAPTURE = PREG_SPLIT_DELIM_CAPTURE
 - PREG_SPLIT_NO_EMPTY = PREG_SPLIT_NO_EMPTY
 - PREG_SPLIT_OFFSET_CAPTURE = PREG_SPLIT_OFFSET_CAPTURE
 - PREG_UNMATCHED_AS_NULL = PREG_UNMATCHED_AS_NULL
 - ASCII = " eiasntrolud][cmp' g|hv.fb,:=-q10C2*yx)(L9AS/P"EjMIk3>5T<D4}B{8FwR67UGN;JzV#HOW_&!K?XQ%Y\ Z+~^$@` "
 - FOLD_FROM = ['İ', 'µ', 'ſ', "ͅ", 'ς', 'ϐ', 'ϑ', 'ϕ', 'ϖ', 'ϰ', 'ϱ', 'ϵ', 'ẛ', "ι", 'ß', 'İ', 'ʼn', 'ǰ', 'ΐ', 'ΰ', 'և', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'ẚ', 'ẞ', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ᾀ', 'ᾁ', 'ᾂ', 'ᾃ', 'ᾄ', 'ᾅ', 'ᾆ', 'ᾇ', 'ᾈ', 'ᾉ', 'ᾊ', 'ᾋ', 'ᾌ', 'ᾍ', 'ᾎ', 'ᾏ', 'ᾐ', 'ᾑ', 'ᾒ', 'ᾓ', 'ᾔ', 'ᾕ', 'ᾖ', 'ᾗ', 'ᾘ', 'ᾙ', 'ᾚ', 'ᾛ', 'ᾜ', 'ᾝ', 'ᾞ', 'ᾟ', 'ᾠ', 'ᾡ', 'ᾢ', 'ᾣ', 'ᾤ', 'ᾥ', 'ᾦ', 'ᾧ', 'ᾨ', 'ᾩ', 'ᾪ', 'ᾫ', 'ᾬ', 'ᾭ', 'ᾮ', 'ᾯ', 'ᾲ', 'ᾳ', 'ᾴ', 'ᾶ', 'ᾷ', 'ᾼ', 'ῂ', 'ῃ', 'ῄ', 'ῆ', 'ῇ', 'ῌ', 'ῒ', 'ΐ', 'ῖ', 'ῗ', 'ῢ', 'ΰ', 'ῤ', 'ῦ', 'ῧ', 'ῲ', 'ῳ', 'ῴ', 'ῶ', 'ῷ', 'ῼ', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'ſt', 'st', 'ﬓ', 'ﬔ', 'ﬕ', 'ﬖ', 'ﬗ']
 - FOLD_TO = ['i̇', 'μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', 'ṡ', 'ι', 'ss', 'i̇', 'ʼn', 'ǰ', 'ΐ', 'ΰ', 'եւ', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'aʾ', 'ss', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ἀι', 'ἁι', 'ἂι', 'ἃι', 'ἄι', 'ἅι', 'ἆι', 'ἇι', 'ἀι', 'ἁι', 'ἂι', 'ἃι', 'ἄι', 'ἅι', 'ἆι', 'ἇι', 'ἠι', 'ἡι', 'ἢι', 'ἣι', 'ἤι', 'ἥι', 'ἦι', 'ἧι', 'ἠι', 'ἡι', 'ἢι', 'ἣι', 'ἤι', 'ἥι', 'ἦι', 'ἧι', 'ὠι', 'ὡι', 'ὢι', 'ὣι', 'ὤι', 'ὥι', 'ὦι', 'ὧι', 'ὠι', 'ὡι', 'ὢι', 'ὣι', 'ὤι', 'ὥι', 'ὦι', 'ὧι', 'ὰι', 'αι', 'άι', 'ᾶ', 'ᾶι', 'αι', 'ὴι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 'ɾ', 'ʀ', 'ʂ', 'ʈ', 'ʉ', 'ʋ', 'ʏ', 'ʐ', 'ʑ', 'ʙ', 'ʛ', 'ʜ', 'ʝ', 'ʟ', 'ʠ', 'ʣ', 'ʥ', 'ʦ', 'ʪ', 'ʫ', 'ᴀ', 'ᴁ', 'ᴃ', 'ᴄ', 'ᴅ', 'ᴆ', 'ᴇ', 'ᴊ', 'ᴋ', 'ᴌ', 'ᴍ', 'ᴏ', 'ᴘ', 'ᴛ', 'ᴜ', 'ᴠ', 'ᴡ', 'ᴢ', 'ᵫ', 'ᵬ', 'ᵭ', 'ᵮ', 'ᵯ', 'ᵰ', 'ᵱ', 'ᵲ', 'ᵳ', 'ᵴ', 'ᵵ', 'ᵶ', 'ᵺ', 'ᵻ', 'ᵽ', 'ᵾ', 'ᶀ', 'ᶁ', 'ᶂ', 'ᶃ', 'ᶄ', 'ᶅ', 'ᶆ', 'ᶇ', 'ᶈ', 'ᶉ', 'ᶊ', 'ᶌ', 'ᶍ', 'ᶎ', 'ᶏ', 'ᶑ', 'ᶒ', 'ᶓ', 'ᶖ', 'ᶙ', 'ẚ', 'ẜ', 'ẝ', 'ẞ', 'Ỻ', 'ỻ', 'Ỽ', 'ỽ', 'Ỿ', 'ỿ', '©', '®', '₠', '₢', '₣', '₤', '₧', '₺', '₹', 'ℌ', '℞', '㎧', '㎮', '㏆', '㏗', '㏞', '㏟', '¼', '½', '¾', '⅓', '⅔', '⅕', '⅖', '⅗', '⅘', '⅙', '⅚', '⅛', '⅜', '⅝', '⅞', '⅟', '〇', '‘', '’', '‚', '‛', '“', '”', '„', '‟', '′', '″', '〝', '〞', '«', '»', '‹', '›', '‐', '‑', '‒', '–', '—', '―', '︱', '︲', '﹘', '‖', '⁄', '⁅', '⁆', '⁎', '、', '。', '〈', '〉', '《', '》', '〔', '〕', '〘', '〙', '〚', '〛', '︑', '︒', '︹', '︺', '︽', '︾', '︿', '﹀', '﹑', '﹝', '﹞', '⦅', '⦆', '。', '、', '×', '÷', '−', '∕', '∖', '∣', '∥', '≪', '≫', '⦅', '⦆']
 - TRANSLIT_TO = ['AE', 'D', 'O', 'TH', 'ss', 'ae', 'd', 'o', 'th', 'D', 'd', 'H', 'h', 'i', 'q', 'L', 'l', 'L', 'l', ''n', 'N', 'n', 'OE', 'oe', 'T', 't', 'b', 'B', 'B', 'b', 'C', 'c', 'D', 'D', 'D', 'd', 'E', 'F', 'f', 'G', 'hv', 'I', 'I', 'K', 'k', 'l', 'N', 'n', 'OI', 'oi', 'P', 'p', 't', 'T', 't', 'T', 'V', 'Y', 'y', 'Z', 'z', 'DZ', 'Dz', 'dz', 'G', 'g', 'd', 'Z', 'z', 'l', 'n', 't', 'j', 'db', 'qp', 'A', 'C', 'c', 'L', 'T', 's', 'z', 'B', 'U', 'E', 'e', 'J', 'j', 'R', 'r', 'Y', 'y', 'b', 'c', 'd', 'd', 'e', 'j', 'g', 'g', 'G', 'h', 'h', 'i', 'I', 'l', 'l', 'l', 'm', 'n', 'n', 'N', 'OE', 'r', 'r', 'r', 'R', 's', 't', 'u', 'v', 'Y', 'z', 'z', 'B', 'G', 'H', 'j', 'L', 'q', 'dz', 'dz', 'ts', 'ls', 'lz', 'A', 'AE', 'B', 'C', 'D', 'D', 'E', 'J', 'K', 'L', 'M', 'O', 'P', 'T', 'U', 'V', 'W', 'Z', 'ue', 'b', 'd', 'f', 'm', 'n', 'p', 'r', 'r', 's', 't', 'z', 'th', 'I', 'p', 'U', 'b', 'd', 'f', 'g', 'k', 'l', 'm', 'n', 'p', 'r', 's', 'v', 'x', 'z', 'a', 'd', 'e', 'e', 'i', 'u', 'a', 's', 's', 'SS', 'LL', 'll', 'V', 'v', 'Y', 'y', '(C)', '(R)', 'CE', 'Cr', 'Fr.', 'L.', 'Pts', 'TL', 'Rs', 'x', 'Rx', 'm/s', 'rad/s', 'C/kg', 'pH', 'V/m', 'A/m', ' 1/4', ' 1/2', ' 3/4', ' 1/3', ' 2/3', ' 1/5', ' 2/5', ' 3/5', ' 4/5', ' 1/6', ' 5/6', ' 1/8', ' 3/8', ' 5/8', ' 7/8', ' 1/', '0', ''', ''', ',', ''', '"', '"', ',,', '"', ''', '"', '"', '"', '<<', '>>', '<', '>', '-', '-', '-', '-', '-', '-', '-', '-', '-', '||', '/', '[', ']', '*', ',', '.', '<', '>', '<<', '>>', '[', ']', '[', ']', '[', ']', ',', '.', '[', ']', '<<', '>>', '<', '>', ',', '[', ']', '((', '))', '.', ',', '*', '/', '-', '/', '\', '|', '||', '<<', '>>', '((', '))']
 - UPPER_FROM = ['ß', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'ſt', 'st', 'և', 'ﬓ', 'ﬔ', 'ﬕ', 'ﬖ', 'ﬗ', 'ʼn', 'ΐ', 'ΰ', 'ǰ', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'ẚ', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ᾶ', 'ῆ', 'ῒ', 'ΐ', 'ῖ', 'ῗ', 'ῢ', 'ΰ', 'ῤ', 'ῦ', 'ῧ', 'ῶ']
 - UPPER_TO = ['SS', 'FF', 'FI', 'FL', 'FFI', 'FFL', 'ST', 'ST', 'ԵՒ', 'ՄՆ', 'ՄԵ', 'ՄԻ', 'ՎՆ', 'ՄԽ', 'ʼN', 'Ϊ́', 'Ϋ́', 'J̌', 'H̱', 'T̈', 'W̊', 'Y̊', 'Aʾ', 'Υ̓', 'Υ̓̀', 'Υ̓́', 'Υ̓͂', 'Α͂', 'Η͂', 'Ϊ̀', 'Ϊ́', 'Ι͂', 'Ϊ͂', 'Ϋ̀', 'Ϋ́', 'Ρ̓', 'Υ͂', 'Ϋ͂', 'Ω͂']
 - $ignoreCase : mixed
 - $string : mixed
 - $tableWide : mixed
 - $tableZero : mixed
 - $transliterators : mixed
 - __clone() : mixed
 - __construct() : mixed
 - __sleep() : array<string|int, mixed>
 - __toString() : string
 - after() : static
 - afterLast() : static
 - append() : static
 - ascii() : self
 - Generic UTF-8 to ASCII transliteration.
 - before() : static
 - beforeLast() : static
 - bytesAt() : array<string|int, int>
 - camel() : static
 - chunk() : array<string|int, static>
 - codePointsAt() : array<string|int, int>
 - collapseWhitespace() : static
 - containsAny() : bool
 - endsWith() : bool
 - ensureEnd() : static
 - ensureStart() : static
 - equalsTo() : bool
 - folded() : static
 - fromCodePoints() : static
 - ignoreCase() : static
 - indexOf() : int|null
 - indexOfLast() : int|null
 - isEmpty() : bool
 - join() : static
 - jsonSerialize() : string
 - length() : int
 - lower() : static
 - match() : array<string|int, mixed>
 - Matches the string using a regular expression.
 - normalize() : static
 - padBoth() : static
 - padEnd() : static
 - padStart() : static
 - prepend() : static
 - repeat() : static
 - replace() : static
 - replaceMatches() : static
 - reverse() : static
 - slice() : static
 - snake() : static
 - splice() : static
 - split() : array<string|int, static>
 - startsWith() : bool
 - title() : static
 - toByteString() : ByteString
 - toCodePointString() : CodePointString
 - toString() : string
 - toUnicodeString() : UnicodeString
 - trim() : static
 - trimEnd() : static
 - trimStart() : static
 - truncate() : static
 - unwrap() : array<string|int, string>|array<string|int, mixed>
 - Unwraps instances of AbstractString back to strings.
 - upper() : static
 - width() : int
 - Returns the printable length on a terminal.
 - wordwrap() : static
 - wrap() : array<string|int, static>|array<string|int, mixed>
 - Wraps (and normalizes) strings in instances of AbstractString.
 - pad() : static
 - wcswidth() : int
 - Based on https://github.com/jquast/wcwidth, a Python implementation of https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c.
 
Constants
NFC
    public
    mixed
    NFC
    = Normalizer::NFC
        
        
    
NFD
    public
    mixed
    NFD
    = Normalizer::NFD
        
        
    
NFKC
    public
    mixed
    NFKC
    = Normalizer::NFKC
        
        
    
NFKD
    public
    mixed
    NFKD
    = Normalizer::NFKD
        
        
    
PREG_OFFSET_CAPTURE
    public
    mixed
    PREG_OFFSET_CAPTURE
    = PREG_OFFSET_CAPTURE
        
        
    
PREG_PATTERN_ORDER
    public
    mixed
    PREG_PATTERN_ORDER
    = PREG_PATTERN_ORDER
        
        
    
PREG_SET_ORDER
    public
    mixed
    PREG_SET_ORDER
    = PREG_SET_ORDER
        
        
    
PREG_SPLIT
    public
    mixed
    PREG_SPLIT
    = 0
        
        
    
PREG_SPLIT_DELIM_CAPTURE
    public
    mixed
    PREG_SPLIT_DELIM_CAPTURE
    = PREG_SPLIT_DELIM_CAPTURE
        
        
    
PREG_SPLIT_NO_EMPTY
    public
    mixed
    PREG_SPLIT_NO_EMPTY
    = PREG_SPLIT_NO_EMPTY
        
        
    
PREG_SPLIT_OFFSET_CAPTURE
    public
    mixed
    PREG_SPLIT_OFFSET_CAPTURE
    = PREG_SPLIT_OFFSET_CAPTURE
        
        
    
PREG_UNMATCHED_AS_NULL
    public
    mixed
    PREG_UNMATCHED_AS_NULL
    = PREG_UNMATCHED_AS_NULL
        
        
    
ASCII
    private
    mixed
    ASCII
    = " eiasntrolud][cmp'
g|hv.fb,:=-q10C2*yx)(L9AS/P"EjMIk3>5T<D4}B{8FwR67UGN;JzV#HOW_&!K?XQ%Y\	Z+~^$@` 
"
        
        
    
FOLD_FROM
    private
    mixed
    FOLD_FROM
    = ['İ', 'µ', 'ſ', "ͅ", 'ς', 'ϐ', 'ϑ', 'ϕ', 'ϖ', 'ϰ', 'ϱ', 'ϵ', 'ẛ', "ι", 'ß', 'İ', 'ʼn', 'ǰ', 'ΐ', 'ΰ', 'և', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'ẚ', 'ẞ', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ᾀ', 'ᾁ', 'ᾂ', 'ᾃ', 'ᾄ', 'ᾅ', 'ᾆ', 'ᾇ', 'ᾈ', 'ᾉ', 'ᾊ', 'ᾋ', 'ᾌ', 'ᾍ', 'ᾎ', 'ᾏ', 'ᾐ', 'ᾑ', 'ᾒ', 'ᾓ', 'ᾔ', 'ᾕ', 'ᾖ', 'ᾗ', 'ᾘ', 'ᾙ', 'ᾚ', 'ᾛ', 'ᾜ', 'ᾝ', 'ᾞ', 'ᾟ', 'ᾠ', 'ᾡ', 'ᾢ', 'ᾣ', 'ᾤ', 'ᾥ', 'ᾦ', 'ᾧ', 'ᾨ', 'ᾩ', 'ᾪ', 'ᾫ', 'ᾬ', 'ᾭ', 'ᾮ', 'ᾯ', 'ᾲ', 'ᾳ', 'ᾴ', 'ᾶ', 'ᾷ', 'ᾼ', 'ῂ', 'ῃ', 'ῄ', 'ῆ', 'ῇ', 'ῌ', 'ῒ', 'ΐ', 'ῖ', 'ῗ', 'ῢ', 'ΰ', 'ῤ', 'ῦ', 'ῧ', 'ῲ', 'ῳ', 'ῴ', 'ῶ', 'ῷ', 'ῼ', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'ſt', 'st', 'ﬓ', 'ﬔ', 'ﬕ', 'ﬖ', 'ﬗ']
        
        
    
FOLD_TO
    private
    mixed
    FOLD_TO
    = ['i̇', 'μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', 'ṡ', 'ι', 'ss', 'i̇', 'ʼn', 'ǰ', 'ΐ', 'ΰ', 'եւ', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'aʾ', 'ss', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ἀι', 'ἁι', 'ἂι', 'ἃι', 'ἄι', 'ἅι', 'ἆι', 'ἇι', 'ἀι', 'ἁι', 'ἂι', 'ἃι', 'ἄι', 'ἅι', 'ἆι', 'ἇι', 'ἠι', 'ἡι', 'ἢι', 'ἣι', 'ἤι', 'ἥι', 'ἦι', 'ἧι', 'ἠι', 'ἡι', 'ἢι', 'ἣι', 'ἤι', 'ἥι', 'ἦι', 'ἧι', 'ὠι', 'ὡι', 'ὢι', 'ὣι', 'ὤι', 'ὥι', 'ὦι', 'ὧι', 'ὠι', 'ὡι', 'ὢι', 'ὣι', 'ὤι', 'ὥι', 'ὦι', 'ὧι', 'ὰι', 'αι', 'άι', 'ᾶ', 'ᾶι', 'αι', 'ὴι', 'ηι', 'ήι', 'ῆ', 'ῆι', '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ɾ', 'ʀ', 'ʂ', 'ʈ', 'ʉ', 'ʋ', 'ʏ', 'ʐ', 'ʑ', 'ʙ', 'ʛ', 'ʜ', 'ʝ', 'ʟ', 'ʠ', 'ʣ', 'ʥ', 'ʦ', 'ʪ', 'ʫ', 'ᴀ', 'ᴁ', 'ᴃ', 'ᴄ', 'ᴅ', 'ᴆ', 'ᴇ', 'ᴊ', 'ᴋ', 'ᴌ', 'ᴍ', 'ᴏ', 'ᴘ', 'ᴛ', 'ᴜ', 'ᴠ', 'ᴡ', 'ᴢ', 'ᵫ', 'ᵬ', 'ᵭ', 'ᵮ', 'ᵯ', 'ᵰ', 'ᵱ', 'ᵲ', 'ᵳ', 'ᵴ', 'ᵵ', 'ᵶ', 'ᵺ', 'ᵻ', 'ᵽ', 'ᵾ', 'ᶀ', 'ᶁ', 'ᶂ', 'ᶃ', 'ᶄ', 'ᶅ', 'ᶆ', 'ᶇ', 'ᶈ', 'ᶉ', 'ᶊ', 'ᶌ', 'ᶍ', 'ᶎ', 'ᶏ', 'ᶑ', 'ᶒ', 'ᶓ', 'ᶖ', 'ᶙ', 'ẚ', 'ẜ', 'ẝ', 'ẞ', 'Ỻ', 'ỻ', 'Ỽ', 'ỽ', 'Ỿ', 'ỿ', '©', '®', '₠', '₢', '₣', '₤', '₧', '₺', '₹', 'ℌ', '℞', '㎧', '㎮', '㏆', '㏗', '㏞', '㏟', '¼', '½', '¾', '⅓', '⅔', '⅕', '⅖', '⅗', '⅘', '⅙', '⅚', '⅛', '⅜', '⅝', '⅞', '⅟', '〇', '‘', '’', '‚', '‛', '“', '”', '„', '‟', '′', '″', '〝', '〞', '«', '»', '‹', '›', '‐', '‑', '‒', '–', '—', '―', '︱', '︲', '﹘', '‖', '⁄', '⁅', '⁆', '⁎', '、', '。', '〈', '〉', '《', '》', '〔', '〕', '〘', '〙', '〚', '〛', '︑', '︒', '︹', '︺', '︽', '︾', '︿', '﹀', '﹑', '﹝', '﹞', '⦅', '⦆', '。', '、', '×', '÷', '−', '∕', '∖', '∣', '∥', '≪', '≫', '⦅', '⦆']
        
        
    
TRANSLIT_TO
    private
    mixed
    TRANSLIT_TO
    = ['AE', 'D', 'O', 'TH', 'ss', 'ae', 'd', 'o', 'th', 'D', 'd', 'H', 'h', 'i', 'q', 'L', 'l', 'L', 'l', ''n', 'N', 'n', 'OE', 'oe', 'T', 't', 'b', 'B', 'B', 'b', 'C', 'c', 'D', 'D', 'D', 'd', 'E', 'F', 'f', 'G', 'hv', 'I', 'I', 'K', 'k', 'l', 'N', 'n', 'OI', 'oi', 'P', 'p', 't', 'T', 't', 'T', 'V', 'Y', 'y', 'Z', 'z', 'DZ', 'Dz', 'dz', 'G', 'g', 'd', 'Z', 'z', 'l', 'n', 't', 'j', 'db', 'qp', 'A', 'C', 'c', 'L', 'T', 's', 'z', 'B', 'U', 'E', 'e', 'J', 'j', 'R', 'r', 'Y', 'y', 'b', 'c', 'd', 'd', 'e', 'j', 'g', 'g', 'G', 'h', 'h', 'i', 'I', 'l', 'l', 'l', 'm', 'n', 'n', 'N', 'OE', 'r', 'r', 'r', 'R', 's', 't', 'u', 'v', 'Y', 'z', 'z', 'B', 'G', 'H', 'j', 'L', 'q', 'dz', 'dz', 'ts', 'ls', 'lz', 'A', 'AE', 'B', 'C', 'D', 'D', 'E', 'J', 'K', 'L', 'M', 'O', 'P', 'T', 'U', 'V', 'W', 'Z', 'ue', 'b', 'd', 'f', 'm', 'n', 'p', 'r', 'r', 's', 't', 'z', 'th', 'I', 'p', 'U', 'b', 'd', 'f', 'g', 'k', 'l', 'm', 'n', 'p', 'r', 's', 'v', 'x', 'z', 'a', 'd', 'e', 'e', 'i', 'u', 'a', 's', 's', 'SS', 'LL', 'll', 'V', 'v', 'Y', 'y', '(C)', '(R)', 'CE', 'Cr', 'Fr.', 'L.', 'Pts', 'TL', 'Rs', 'x', 'Rx', 'm/s', 'rad/s', 'C/kg', 'pH', 'V/m', 'A/m', ' 1/4', ' 1/2', ' 3/4', ' 1/3', ' 2/3', ' 1/5', ' 2/5', ' 3/5', ' 4/5', ' 1/6', ' 5/6', ' 1/8', ' 3/8', ' 5/8', ' 7/8', ' 1/', '0', ''', ''', ',', ''', '"', '"', ',,', '"', ''', '"', '"', '"', '<<', '>>', '<', '>', '-', '-', '-', '-', '-', '-', '-', '-', '-', '||', '/', '[', ']', '*', ',', '.', '<', '>', '<<', '>>', '[', ']', '[', ']', '[', ']', ',', '.', '[', ']', '<<', '>>', '<', '>', ',', '[', ']', '((', '))', '.', ',', '*', '/', '-', '/', '\', '|', '||', '<<', '>>', '((', '))']
        
        
    
UPPER_FROM
    private
    mixed
    UPPER_FROM
    = ['ß', 'ff', 'fi', 'fl', 'ffi', 'ffl', 'ſt', 'st', 'և', 'ﬓ', 'ﬔ', 'ﬕ', 'ﬖ', 'ﬗ', 'ʼn', 'ΐ', 'ΰ', 'ǰ', 'ẖ', 'ẗ', 'ẘ', 'ẙ', 'ẚ', 'ὐ', 'ὒ', 'ὔ', 'ὖ', 'ᾶ', 'ῆ', 'ῒ', 'ΐ', 'ῖ', 'ῗ', 'ῢ', 'ΰ', 'ῤ', 'ῦ', 'ῧ', 'ῶ']
        
        
    
UPPER_TO
    private
    mixed
    UPPER_TO
    = ['SS', 'FF', 'FI', 'FL', 'FFI', 'FFL', 'ST', 'ST', 'ԵՒ', 'ՄՆ', 'ՄԵ', 'ՄԻ', 'ՎՆ', 'ՄԽ', 'ʼN', 'Ϊ́', 'Ϋ́', 'J̌', 'H̱', 'T̈', 'W̊', 'Y̊', 'Aʾ', 'Υ̓', 'Υ̓̀', 'Υ̓́', 'Υ̓͂', 'Α͂', 'Η͂', 'Ϊ̀', 'Ϊ́', 'Ι͂', 'Ϊ͂', 'Ϋ̀', 'Ϋ́', 'Ρ̓', 'Υ͂', 'Ϋ͂', 'Ω͂']
        
        
    
Properties
$ignoreCase
    protected
        mixed
    $ignoreCase
     = false
        
        
    
$string
    protected
        mixed
    $string
     = ''
        
        
    
$tableWide
    private
    static    mixed
    $tableWide
    
        
        
    
$tableZero
    private
    static    mixed
    $tableZero
    
        
        
    
$transliterators
    private
    static    mixed
    $transliterators
     = []
        
        
    
Methods
__clone()
    public
                __clone() : mixed
        
    
    
        Return values
mixed —__construct()
    public
    abstract            __construct([string $string = '' ]) : mixed
        
        Parameters
- $string : string = ''
 
Return values
mixed —__sleep()
    public
                __sleep() : array<string|int, mixed>
        
    
    
        Return values
array<string|int, mixed> —__toString()
    public
                __toString() : string
    
    
    
        Return values
string —after()
    public
                after(string|array<string|int, string> $needle[, bool $includeNeedle = false ], int $offset) : static
    
        Parameters
- $needle : string|array<string|int, string>
 - $includeNeedle : bool = false
 - $offset : int
 
Return values
static —afterLast()
    public
                afterLast(string|array<string|int, string> $needle[, bool $includeNeedle = false ], int $offset) : static
    
        Parameters
- $needle : string|array<string|int, string>
 - $includeNeedle : bool = false
 - $offset : int
 
Return values
static —append()
    public
    abstract            append(string ...$suffix) : static
    
        Parameters
- $suffix : string
 
Return values
static —ascii()
Generic UTF-8 to ASCII transliteration.
    public
                ascii([array<string|int, string>|array<string|int, Transliterator>|array<string|int, Closure> $rules = [] ]) : self
        Install the intl extension for best results.
Parameters
- $rules : array<string|int, string>|array<string|int, Transliterator>|array<string|int, Closure> = []
 - 
                    
See "*-Latin" rules from Transliterator::listIDs()
 
Return values
self —before()
    public
                before(string|array<string|int, string> $needle[, bool $includeNeedle = false ], int $offset) : static
    
        Parameters
- $needle : string|array<string|int, string>
 - $includeNeedle : bool = false
 - $offset : int
 
Return values
static —beforeLast()
    public
                beforeLast(string|array<string|int, string> $needle[, bool $includeNeedle = false ], int $offset) : static
    
        Parameters
- $needle : string|array<string|int, string>
 - $includeNeedle : bool = false
 - $offset : int
 
Return values
static —bytesAt()
    public
                bytesAt(int $offset) : array<string|int, int>
    
        Parameters
- $offset : int
 
Return values
array<string|int, int> —camel()
    public
                camel() : static
    
    
    
        Return values
static —chunk()
    public
    abstract            chunk([int $length = 1 ]) : array<string|int, static>
    
        Parameters
- $length : int = 1
 
Return values
array<string|int, static> —codePointsAt()
    public
                codePointsAt(int $offset) : array<string|int, int>
    
        Parameters
- $offset : int
 
Return values
array<string|int, int> —collapseWhitespace()
    public
                collapseWhitespace() : static
    
    
    
        Return values
static —containsAny()
    public
                containsAny(string|array<string|int, string> $needle) : bool
    
        Parameters
- $needle : string|array<string|int, string>
 
Return values
bool —endsWith()
    public
                endsWith(string|array<string|int, string> $suffix) : bool
    
        Parameters
- $suffix : string|array<string|int, string>
 
Return values
bool —ensureEnd()
    public
                ensureEnd(string $suffix) : static
    
        Parameters
- $suffix : string
 
Return values
static —ensureStart()
    public
                ensureStart(string $prefix) : static
    
        Parameters
- $prefix : string
 
Return values
static —equalsTo()
    public
                equalsTo(string|array<string|int, string> $string) : bool
    
        Parameters
- $string : string|array<string|int, string>
 
Return values
bool —folded()
    public
                folded([bool $compat = true ]) : static
    
        Parameters
- $compat : bool = true
 
Return values
static —fromCodePoints()
    public
            static    fromCodePoints(int ...$codes) : static
    
        Parameters
- $codes : int
 
Return values
static —ignoreCase()
    public
                ignoreCase() : static
    
    
    
        Return values
static —indexOf()
    public
                indexOf(string|array<string|int, string> $needle, int $offset) : int|null
    
        Parameters
- $needle : string|array<string|int, string>
 - $offset : int
 
Return values
int|null —indexOfLast()
    public
                indexOfLast(string|array<string|int, string> $needle, int $offset) : int|null
    
        Parameters
- $needle : string|array<string|int, string>
 - $offset : int
 
Return values
int|null —isEmpty()
    public
                isEmpty() : bool
        
    
    
        Return values
bool —join()
    public
                join(array<string|int, mixed> $strings[, string $lastGlue = null ]) : static
    
        Parameters
- $strings : array<string|int, mixed>
 - $lastGlue : string = null
 
Return values
static —jsonSerialize()
    public
                jsonSerialize() : string
        
    
    
        Return values
string —length()
    public
    abstract            length() : int
        
    
    
        Return values
int —lower()
    public
                lower() : static
    
    
    
        Return values
static —match()
Matches the string using a regular expression.
    public
                match(string $regexp, int $flags, int $offset) : array<string|int, mixed>
        Pass PREG_PATTERN_ORDER or PREG_SET_ORDER as $flags to get all occurrences matching the regular expression.
Parameters
- $regexp : string
 - $flags : int
 - $offset : int
 
Return values
array<string|int, mixed> —All matches in a multi-dimensional array ordered according to flags
normalize()
    public
                normalize([int $form = self::NFC ]) : static
    
        Parameters
- $form : int = self::NFC
 
Return values
static —padBoth()
    public
                padBoth(int $length[, string $padStr = ' ' ]) : static
    
        Parameters
- $length : int
 - $padStr : string = ' '
 
Return values
static —padEnd()
    public
                padEnd(int $length[, string $padStr = ' ' ]) : static
    
        Parameters
- $length : int
 - $padStr : string = ' '
 
Return values
static —padStart()
    public
                padStart(int $length[, string $padStr = ' ' ]) : static
    
        Parameters
- $length : int
 - $padStr : string = ' '
 
Return values
static —prepend()
    public
    abstract            prepend(string ...$prefix) : static
    
        Parameters
- $prefix : string
 
Return values
static —repeat()
    public
                repeat(int $multiplier) : static
    
        Parameters
- $multiplier : int
 
Return values
static —replace()
    public
    abstract            replace(string $from, string $to) : static
    
        Parameters
- $from : string
 - $to : string
 
Return values
static —replaceMatches()
    public
                replaceMatches(string $fromRegexp, mixed $to) : static
    
        Parameters
- $fromRegexp : string
 - $to : mixed
 
Return values
static —reverse()
    public
                reverse() : static
    
    
    
        Return values
static —slice()
    public
    abstract            slice(int $start[, int $length = null ]) : static
    
        Parameters
- $start : int
 - $length : int = null
 
Return values
static —snake()
    public
                snake() : static
    
    
    
        Return values
static —splice()
    public
    abstract            splice(string $replacement, int $start[, int $length = null ]) : static
    
        Parameters
- $replacement : string
 - $start : int
 - $length : int = null
 
Return values
static —split()
    public
                split(string $delimiter[, int $limit = null ][, int $flags = null ]) : array<string|int, static>
    
        Parameters
- $delimiter : string
 - $limit : int = null
 - $flags : int = null
 
Return values
array<string|int, static> —startsWith()
    public
                startsWith(string|array<string|int, string> $prefix) : bool
    
        Parameters
- $prefix : string|array<string|int, string>
 
Return values
bool —title()
    public
                title([bool $allWords = false ]) : static
    
        Parameters
- $allWords : bool = false
 
Return values
static —toByteString()
    public
                toByteString([string $toEncoding = null ]) : ByteString
        
        Parameters
- $toEncoding : string = null
 
Return values
ByteString —toCodePointString()
    public
                toCodePointString() : CodePointString
        
    
    
        Return values
CodePointString —toString()
    public
                toString() : string
        
    
    
        Return values
string —toUnicodeString()
    public
                toUnicodeString() : UnicodeString
        
    
    
        Return values
UnicodeString —trim()
    public
                trim([string $chars = " 	
  " ]) : static
    
        Parameters
- $chars : string = " "
 
Return values
static —trimEnd()
    public
                trimEnd([string $chars = " 	
  " ]) : static
    
        Parameters
- $chars : string = " "
 
Return values
static —trimStart()
    public
                trimStart([string $chars = " 	
  " ]) : static
    
        Parameters
- $chars : string = " "
 
Return values
static —truncate()
    public
                truncate(int $length[, string $ellipsis = '' ][, bool $cut = true ]) : static
    
        Parameters
- $length : int
 - $ellipsis : string = ''
 - $cut : bool = true
 
Return values
static —unwrap()
Unwraps instances of AbstractString back to strings.
    public
            static    unwrap(array<string|int, mixed> $values) : array<string|int, string>|array<string|int, mixed>
    
        Parameters
- $values : array<string|int, mixed>
 
Return values
array<string|int, string>|array<string|int, mixed> —upper()
    public
                upper() : static
    
    
    
        Return values
static —width()
Returns the printable length on a terminal.
    public
                width([bool $ignoreAnsiDecoration = true ]) : int
    
        Parameters
- $ignoreAnsiDecoration : bool = true
 
Return values
int —wordwrap()
    public
                wordwrap([int $width = 75 ][, string $break = "
" ][, bool $cut = false ]) : static
    
        Parameters
- $width : int = 75
 - $break : string = " "
 - $cut : bool = false
 
Return values
static —wrap()
Wraps (and normalizes) strings in instances of AbstractString.
    public
            static    wrap(array<string|int, mixed> $values) : array<string|int, static>|array<string|int, mixed>
    
        Parameters
- $values : array<string|int, mixed>
 
Return values
array<string|int, static>|array<string|int, mixed> —pad()
    private
                pad(int $len, self $pad, int $type) : static
    
        Parameters
- $len : int
 - $pad : self
 - $type : int
 
Return values
static —wcswidth()
Based on https://github.com/jquast/wcwidth, a Python implementation of https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c.
    private
                wcswidth(string $string) : int
    
        Parameters
- $string : string