开发者

how can I take starting two character of a string

how can I take starting two character of a string regardless the string lengh开发者_开发问答t.


With substr()

$string = substr("something", 0, 2);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜