dectobin () { num=$1 rem=1 bno="" while [ $num -gt 0 ] do rem=`expr $num % 2` bno=$bno$rem num=`expr $num / 2` done i=`echo ${#bno}` final="" while [ $i -gt 0 ] do i=$(( $i - 1 )) rev=`echo ${bno:$i:1}` final=$final$rev done final=`printf "%08d" $final` echo $final }
1. 문자(열) 함수LOWER소문자로 변환UPPER대문자로 변환INITCAP첫문자 대문자로 변환CONCAT문자열 합치기SUBSTR서브 문자여 리턴LENGTH문자열 길이 리턴INSTR문자열 내 문자열 검색LPAD왼쪽 패딩 채우기RPAD오른쪽 패딩 채우기LTRIM왼쪽 공백 제거RTRIM오른쪽 공백 제거TRIM양쪽 공백 제거TRANSLATE문자 치환REPLACE문자열 채환CHR아스키 값으로 문자 구하기ASCII문자로 아스키 값 구하기 2. 숫자 함수ROUND소수점 이하 반올림TRUNC소수점 이하 버림CEIL소수점 이하 올림MOD나머지 값 반환POWER제곱승SIGN양수는 1, 0은 0, 음수는 -1 반환 3. 그룹 함수SUM합산값AVG평균값MAX최대값COUNT갯수4. 날자 함수SYSDATE, NOW시스템 날자T..
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374Function RegExpTest(Pattern, Str) Dim RegExp SET RegExp = New RegExp RegExp.Pattern = Pattern RegExp.IgnoreCase = True RegExpTest = RegExp.Test(Str) SET RegExp = NothingEnd Function Function in_array(element, arr) in_array = False For i=0 To Ubound(arr) If Tr..
- Total
- Today
- Yesterday
- 이슈처리
- Python
- engineering
- client
- MariaDB
- Ansible
- configuration
- mysql
- Windows
- Module
- RESTful
- 코드
- check
- 예제
- httpd
- error
- example
- deview
- 명령어
- command
- Linux
- monitoring
- 외부링크
- 번역
- apache
- File
- Web
- limits
- code
- PowerShell
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |