精華區beta mud_sanc 關於我們 聯絡資訊
F-065 numwords 原文:return the number of words in the string s delimited by the substring d.  中文:回報字串s中,用字串d隔開的部份,總共有幾個。如果沒指定分隔字串,    預設為空白字元。 格式:%numwords(s,d) 範例:#SHOW %numwords("This is a test.")    沒設定分隔字串,所以用空白字元,結果顯示為4。    #SHOW %numwords("Emergency +++ Enemies +++ Fire+Water elementals","+++")    分隔字串為+++,所以得到結果:3。