Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

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 Tue, 29 Jan 2008 18:52:16 +0000 by phpDocumentor 1.3.1