ACTIVE SERVER PAGE > function ¿¹Á¦ - õ´ÜÀ§ ÄÞ¸¶ Âï±â
µî·ÏÀÏ : 2017-07-03 20:20
Á¶È¸¼ö : 52,526
õ´ÜÀ§ ÄÞ¸¶ Âï´Â User ÇÔ¼ö ÀÔ´Ï´Ù.
À¯¿ëÇÏ°Ô »ç¿ëÇϼ¼¿ä.
Function alterLengthType(LengthSource)
Dim mok,namogi,returnValue,intVari
mok = int(Len(LengthSource)/3)
namogi = int(Len(LengthSource) mod 3)
if namogi > 0 then
returnValue = Mid(LengthSource,1,namogi)
for intVari = 1 to mok
returnValue = returnValue&","&Mid(LengthSource,namogi+((intVari-1)*3)+1,3)
next
else
returnValue = Mid(LengthSource,1,3)
if mok > 0 then
for intVari = 1 to mok
returnValue = returnValue&","&Mid(LengthSource,intVari*3+1,3)
next
end if
end if
alterLengthType = returnValue
end Function