PHP-CSS-Parser
PHP-CSS-Parser copied to clipboard
Move the string handling functions from `ParserState` to a `StringUtility`
As I understand, these mimick PHP's inbuilt functions, but are adapted to observe the @charset of the CSS. Though substr is a bit different and works on the entire CSS string originally passed, with it split into characters according to the charset (and is not passed a string parameter to split).