File/ext/utf8/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 Thu, 08 Jan 2009 17:48:58 +0100 by phpDocumentor 1.4.0a2