¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > function ¿¹Á¦ - õ´ÜÀ§ ÄÞ¸¶ Âï±â

µî·ÏÀÏ : 2017-07-03 20:20 Á¶È¸¼ö : 33,702

õ´ÜÀ§ ÄÞ¸¶ Âï´Â 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


 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.