Support Joomla!

Packages

Package: utf8

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. 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 Sat, 14 Nov 2009 11:21:57 +0000 by phpDocumentor 1.3.1