Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

File/phputf8/trim.php

Description
Functions
utf8_ltrim (line 21)

UTF-8 aware replacement for ltrim()

Note: you only need to use this if you are supplying the charlist optional arg and it contains UTF-8 characters. Otherwise ltrim will work normally on a UTF-8 string

string utf8_ltrim ( $str, [ $charlist = FALSE])
  • $str
  • $charlist
utf8_rtrim (line 43)

UTF-8 aware replacement for rtrim()

Note: you only need to use this if you are supplying the charlist optional arg and it contains UTF-8 characters. Otherwise rtrim will work normally on a UTF-8 string

string utf8_rtrim ( $str, [ $charlist = FALSE])
  • $str
  • $charlist
utf8_trim (line 65)

UTF-8 aware replacement for trim()

Note: you only need to use this if you are supplying the charlist optional arg and it contains UTF-8 characters. Otherwise trim will work normally on a UTF-8 string

string utf8_trim ( $str, [ $charlist = FALSE])
  • $str
  • $charlist

Documentation generated on Mon, 05 Mar 2007 21:29:45 +0000 by phpDocumentor 1.3.1