°ªÀ» °¡Á®¿Í¼ 3333 ¸¸ Áö¿öÁÖ°Ô²û ÇÏ°í ´Ù½Ã Áý¾î³ÖÀ¸¸é µÇÁö ¾Ê³ª¿ä? -_-;;;
<%
Dim str1, str2
Application("aaa") = "1111 : 2222 : 3333 : 4444 : 5555"
str2 = Split( Application("aaa"), " : " )
' split() ÇÔ¼ö¿¡ ÀÇÇØ ³ª¿Â °á°ú°ªÀÌ ¹è¿À̸é...
if isArray(str2) then
' Á¦´ë·Î ©¶ú´ÂÁö( split() ) È®ÀÎ
for i = 0 to UBound(str2)
response.write str2(i)&"<br>"
next
str1 = str2(0)
for i = 1 to UBound(str2)
if str2(i) <> "3333" then
str1 = str1 & " : " & str2(i)
end if
next
end if
Application("aaa") = str1
response.write Application("aaa")
%>
> ¸¸¾à ¾îÇø®ÄÉÀÌ¼Ç º¯¼ö°¡ ¾Æ·¡¿Í°°ÀÌ
> ÀÖ´Ù¸é
>
> Application("aaa")
>
> ÀÌ º¯¼ö¿¡ ÀúÀåµÈ °ªÀÌ ¸¸¾à¿¡
> ¾Æ·¡¿Í °°´Ù¸é
>
> 1111 : 2222 : 3333 : 4444 : 5555 ....
>
> ¿©±â¿¡¼ 3333À̶ó´Â °Í¸¸ Áö¿ï·Á¸é ¾î¶»°Ô ÇØÁÖ¾î¾ß Çմϱî?
>
> ÀÌ·±¸» Á¦°¡ ½È¾îÇؼ ¾ÈÇÒ·Á°í Çߴµ¥¿ä
> Àú Áö±Ý ¹«Áö ±ÞÇÏ°Ô Ã³¸®ÇØ¾ß ÇÕ´Ï´Ù.
> Á¦¹ß Àú¸¦ ±¸¿øÇØÁÖ¼¼¿ä
-----------------------------------------------------------
|