[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/string/ -> UnicodeString.php (summary)

(no description)

File Size: 377 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UnicodeString:: (19 methods):
  __construct()
  append()
  chunk()
  endsWith()
  equalsTo()
  indexOf()
  indexOfLast()
  join()
  length()
  normalize()
  prepend()
  replace()
  replaceMatches()
  slice()
  splice()
  split()
  startsWith()
  __wakeup()
  __clone()


Class: UnicodeString  - X-Ref

Represents a string of Unicode grapheme clusters encoded as UTF-8.

A letter followed by combining characters (accents typically) form what Unicode defines
as a grapheme cluster: a character as humans mean it in written texts. This class knows
about the concept and won't split a letter apart from its combining accents. It also
ensures all string comparisons happen on their canonically-composed representation,
ignoring e.g. the order in which accents are listed when a letter has many of them.

__construct(string $string = '')   X-Ref
No description

append(string ...$suffix)   X-Ref
No description

chunk(int $length = 1)   X-Ref
No description

endsWith($suffix)   X-Ref
No description

equalsTo($string)   X-Ref
No description

indexOf($needle, int $offset = 0)   X-Ref
No description

indexOfLast($needle, int $offset = 0)   X-Ref
No description

join(array $strings, string $lastGlue = null)   X-Ref
No description

length()   X-Ref
No description

normalize(int $form = self::NFC)   X-Ref

return: static

prepend(string ...$prefix)   X-Ref
No description

replace(string $from, string $to)   X-Ref
No description

replaceMatches(string $fromRegexp, $to)   X-Ref
No description

slice(int $start = 0, int $length = null)   X-Ref
No description

splice(string $replacement, int $start = 0, int $length = null)   X-Ref
No description

split(string $delimiter, int $limit = null, int $flags = null)   X-Ref
No description

startsWith($prefix)   X-Ref
No description

__wakeup()   X-Ref
No description

__clone()   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer