String类型方法
摘要:
1.继承的方法 1.ValueOf():返回对象所表示的基本字符串值。 2.toString():返回对象所表示的基本字符串值。 3.toLocaleString():返回对象所表示的基本字符串值。 2.字符方法 1.charAt():以单字符字符串的形式返回给定位置的那个字符。 2.charCod 阅读全文
posted @ 2017-10-21 19:14 shenhf 阅读(235) 评论(0) 推荐(0)
posted @ 2017-10-21 19:14 shenhf 阅读(235) 评论(0) 推荐(0)