Login +

Documentation

SLS_String::trimFirstWordFromString

Since SillySmart 1.0

Description

Delete the first word of a string
static string trimFirstWordFromString ( string $string);

Parameters

  • string $string
    the string to 'amputate'

Return

string $trimmed
the string cut

Exemples

  •  var_dump(SLS_String::trimFirstWordFromString("software is like sex, it's better when it's free"));
     // will produce : "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.