icuba

Addslashes & Stripslashes
function Addslashes(str)
  dim str2
  str2 = str
  '따움표
  str2 = replace(str2, "'", "\'")  '처리: '=>\'
  '쌍따움표
  str2 = replace(str2, chr(34), "\"&chr(34) )  '처리: "=>\"
' 엔터값
  str2 = replace(str2, chr(13)&chr(10), "<br>")  '처리ㅋ
 
  Addslashes = str2
end function

function Stripslashes(str)
  dim str2
  str2 = str
  str2 = replace(str2, "\"&chr(34), chr(34) )  '처리:  \"=>"
  str2 = replace(str2, "\'", "'")  '처리:    \'=>'
  Stripslashes = str2
end function

function nl2br(str)
  dim str2
  str2 = str
  str2 = replace(str2, chr(13), "
")  '처리:  vbCrLf, chr(13), chr(10)
  nl2br = str2
end function
 

스터디

List
번호 제목 글쓴이 날짜 조회
29 HTML   템플릿
02/25 10:02 view . 3892 곤잘레스
곤잘레스 02/25 10:02 3892
28 OS   win10 복구파티션 삭제방법
02/24 15:39 view . 4071 곤잘레스
곤잘레스 02/24 15:39 4071
27 ASP   Addslashes & Stripslashes
12/18 15:05 view . 3159 곤잘레스
곤잘레스 12/18 15:05 3159
26 OS   윈도우에 IIS설치
08/21 06:28 view . 4108 곤잘레스
곤잘레스 08/21 06:28 4108
25 DB   MySQL 데이터 조회 시 대소문자 구분
08/21 06:02 view . 3086 곤잘레스
곤잘레스 08/21 06:02 3086
24 DB   DATE_ADD
08/04 19:54 view . 1309 곤잘레스
곤잘레스 08/04 19:54 1309
23 OS   윈도우 용량이 부족할 때 설정 팁
07/24 02:20 view . 5523 곤잘레스
곤잘레스 07/24 02:20 5523
22 OS   Internet Exploere 키오스크 모드로 실행하기
07/24 01:59 view . 5363 곤잘레스
곤잘레스 07/24 01:59 5363
21 ETC   윈도우10 최근에 사용한 파일 안 나오게 설정
06/14 19:17 view . 3964 곤잘레스
곤잘레스 06/14 19:17 3964
20 JS   jquery ajax
05/29 19:32 view . 7446 곤잘레스
곤잘레스 05/29 19:32 7446
19 DB   쪽지과련
05/29 19:29 view . 6580 곤잘레스
곤잘레스 05/29 19:29 6580
18 DB   검색 쿼리
05/29 19:24 view . 3108 곤잘레스
곤잘레스 05/29 19:24 3108
17 DB   리눅스 하드웨어 정보 및 용량 확인
05/29 19:00 view . 5123 곤잘레스
곤잘레스 05/29 19:00 5123
16 ETC   노트북 발열 문제
02/16 15:54 view . 5632 곤잘레스
곤잘레스 02/16 15:54 5632
15 ETC   시스템 온도측정
02/15 06:39 view . 4925 곤잘레스
곤잘레스 02/15 06:39 4925
14 DB   MSSQL 암호화
01/31 16:33 view . 4184 곤잘레스
곤잘레스 01/31 16:33 4184
13 OS   245번 서버 셋팅내역
01/31 16:32 view . 1401 곤잘레스
곤잘레스 01/31 16:32 1401
12 HTML   select 박스 group 처리
01/31 15:16 view . 7705 곤잘레스
곤잘레스 01/31 15:16 7705
11 DB   PuTTY 작업환경 백업/복구
01/31 15:13 view . 3979 곤잘레스
곤잘레스 01/31 15:13 3979
10 ETC   로또사이트 번호추출서비스
01/07 19:12 view . 3438 곤잘레스
곤잘레스 01/07 19:12 3438
처음으로 1 2 마지막으로