Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- sqlite
- ASP
- swift
- ubuntu
- 라즈베리파이
- Excel
- GIT
- 날짜
- tensorflow
- 다이어트
- IOS
- PyQt5
- port
- 리눅스
- flutter
- python
- Unity
- 함수
- MS-SQL
- mssql
- MySQL
- Linux
- 맛집
- urllib
- PER
- PyQt
- 유니티
- node.js
- pandas
- javascript
Archives
목록숫자 (1)
아미(아름다운미소)
asp 변수에서 숫자만 걸러내는 함수
숫자 ASCII코드는 48번부터 57번 입니다. Function RefNumeric(inputStr) a = inputStr result = "" For i = 1 To Len(a) checkStr = Mid(a, i, 1) If Asc(checkStr) > 47 And Asc(checkStr) < 58 Then result = result & checkStr End If Next RefNumeric = result End Function inputStr = "테 스 트12345 67890" Response.write RefNumeric(inputStr) 결과 : 1234567890
랭귀지/ASP
2019. 10. 23. 11:14