const str="this is a apple";//必須要有空格const check1=/\b\w/g;//找字首const check2=/\w\b/g;//找字尾str.match(check1);//["t", "i", "a", ...
確定! 回上一頁