Login +

Documentation

SLS_String::trimStringRight

Since SillySmart 1.0

Description

Perfom a right trim
static mixed trimStringRight ( mixed $element);

Parameters

  • mixed $element
    the element to trim (string,array)

Return

mixed $element
the element trimed (string,array)

Exemples

  •  var_dump(SLS_String::trimStringRight("  software is like sex,   it's better when it's free  "));
     // will produce : "  software is like sex,   it's better when it's free"

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.