티스토리 뷰

<%

string1 = "hahah,hohoho,hihihi,hehehe"

string2 = Split(string1, ",")


response.write "string2(0) = " & string2(0) & "<br>"

response.write "string2(1) = " & string2(1) & "<br>"

response.write "string2(2) = " & string2(2) & "<br>"

response.write "string2(3) = " & string2(3) & "<br>"

%>


//////////////// 결과//////////////////////

string2(0) = hahah

string2(1) = hohoho

string2(2) = hihihi

string2(3) = hehehe



'Computer > ' 카테고리의 다른 글

PHP 공백 제거  (0) 2015.06.18
iFrame 내에서 Session 유지  (0) 2015.05.22
(PHP) 변수 유효 영역  (0) 2015.03.25
PHP, INTEGER, int 형변환  (0) 2015.03.16
(ASP) 소수점 이하 자릿수 고정  (0) 2014.10.21
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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 31
글 보관함