摘要: trim() 方法会从一个字符串的两端删除空白字符。在这个上下文中的空白字符是所有的空白字符 (space, tab, no break space 等) 以及所有行终止符字符(如 LF,CR)。 如果 trim() 不存在,可以在所有代码前执行下面代码: \s:匹配任何不可见字符,包括空格、制表符 阅读全文
posted @ 2018-01-24 13:54 MiyaMiya 阅读(838) 评论(0) 推荐(0) 编辑
摘要: A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or r 阅读全文
posted @ 2018-01-24 10:00 MiyaMiya 阅读(244) 评论(0) 推荐(0) 编辑