示例1 示例2 示例3 示例4 {:substr(strtoupper($name),0,4)} 本文轉自 素顔豬 51CTO部落格,原文連結:http://blog.51cto.com/suyanzhu/1896902