/libraries/phputf8/trim.php

Description
  • version: $Id$
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, 25 Jun 2012 14:00:16 -0500 by phpDocumentor 1.4.4