String.matches()的用法_victoryckl的博客-CSDN博客_string中的matches

http://hi.baidu.com/tiangel/blog/item/e9c108faed2e138b9f5146cf.htmlString.matches() 这个方法主要是返回是否匹配指定的字符串,如果匹配则为true,否则为false;如:/**   * 判断字符创是否是一个有效的日期   *    * @param theStr   * @r

相似资源

foreach() argument must be of type array|object, string given