string stringRemovePrefix(string $object, string $prefix )
なし
| 変数名 | 変数タイプ | 説明 |
|---|---|---|
| $object | string | 入力文字列。 |
| $prefix | string | $object の先頭から除去される文字列。 |
stringRemovePrefix( "a", "" ); // ,Result:, a // size( stringRemovePrefix( "", "a" ) ); // ,Result:, 0 // stringRemovePrefix( "aa", "a" ); // ,Result:, a // stringRemovePrefix( "a", "___" ); // ,Result:, a // stringRemovePrefix( "a", "abc" ); // ,Result:, a // size( stringRemovePrefix( "a", "a" ) ); // ,Result:, 0 //