当前位置:网站首页>JS détermine si la chaîne de nombres contient des caractères
JS détermine si la chaîne de nombres contient des caractères
2022-04-23 04:46:00 【Spring Java】
function isLetter(str) {
for (var i in str) {
var asc = str.charCodeAt(i);
if ((asc >= 65 && asc <= 90 || asc >= 97 && asc <= 122)) {
return true;
}
}
return false;
}
版权声明
本文为[Spring Java]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230445481089.html
边栏推荐
- Leetcode003 -- judge whether an integer is a palindrome number
- unity摄像机旋转带有滑动效果(自转)
- Create VPC in AWS console (no plate)
- test
- Summary of MySQL de duplication methods
- FAQ of foreign lead and alliance Manager
- Leetcode004 -- Roman numeral to integer
- 383. Ransom letter
- Leetcode009 -- search the target value in the array with binary search
- Leetcode - > 1 sum of two numbers
猜你喜欢
CLion+OpenCV identify ID number - detect ID number
C language: Advanced pointer
Ali's ten-year technical experts jointly created the "latest" jetpack compose project combat drill (with demo)
Go reflection rule
Arduino UNO r3+LCD1602+DHT11
Coinbase: basic knowledge, facts and statistics about cross chain bridge
[paper reading] [3D target detection] point transformer
泰克示波器DPO3054自校准SPC失败维修
Installation and deployment of Flink and wordcount test
Opencv + clion face recognition + face model training
随机推荐
Phishing for NFT
leetcode005--原地删除数组中的重复元素
/etc/bash_ completion. D directory function (the user logs in and executes the script under the directory immediately)
PHP 统计指定文件夹下文件的数量
MySQL - data read / write separation, multi instance
Summary of Android development posts I interviewed in those years (attached test questions + answer analysis)
Supplement: Annotation
用LCR表完美测试无线充电系统中的线圈
Spark case - wordcount
Code007 -- determine whether the string in parentheses matches
QML进阶(五)-通过粒子模拟系统实现各种炫酷的特效
Record the blind injection script
L2-011 玩转二叉树(建树+BFS)
La caméra Unity tourne avec la souris
Logger and zap log Library in go language
leetcode008--实现strStr()函数
Innovation training (VI) routing
Improving 3D object detection with channel wise transformer
The 14th issue of HMS core discovery reviews the long article | enjoy the silky clip and release the creativity of the video
Getprop property