react-native入門[三]

js中讓字符串中特定字符紅色顯示: javascript <script type="text/javascript" language="javascript"> var s = "暖"; var reg = new RegExp("(" + s + ")", "g"); var str = "CSDN暖楓無敵,暖楓無敵CSDN"; var new
相關文章
相關標籤/搜索