-
3143 votesanswersviews
如何在JavaScript中创建字符串大写的第一个字母?
如何将字符串的第一个字母设为大写,但不更改任何其他字母的大小写? 例如: "this is a test" - > "This is a test" "the Eiffel Tower" - > "The Eiffel Tower" "/index.html" ... -
278 votesanswersviews
正则表达式只匹配字母
如何编写仅与字母匹配的正则表达式?