2020年9月7日 星期一

substr()函數用法

//用法
substr(string,start [,length])
//string:指定要截取的字串。
//start:
//length:

//範例
//從Hello world字串中的第6個字元開始取5個字元。第3個參數非必填,如果沒有填,預設值為最後一個字元的位置。
echo substr("Hello World",6,5);
//顯示World

1 則留言:

  1. You’d be forgiven, but you’d be incorrect, for considering that the varieties of|several sorts of|various kinds of} roulette — European, American, and French — are created the same. The American roulette is totally different by design, gameplay, and format from 카지노 사이트 its European or French counterparts, but they do share some similarities. The shaft is the essential component that offers support to the rotor of the wheel. If the wheel isn’t maintained appropriately, the shaft is most probably to slant or bend, making a bias. What that means is that the wheel rotor will revolve on a bent angle, implying that the ball with land on the lower aspect of the slant.

    回覆刪除