public static startsWith (mixed $str, mixed $start, [mixed $ignoreCase])
Check if a string starts with a given string
1 2 3 | echo Phalcon\Text::startsWith( "Hello" , "He" ); // true echo Phalcon\Text::startsWith( "Hello" , "he" , false); // false echo Phalcon\Text::startsWith( "Hello" , "he" ); // true |
Please login to continue.