<!--

'	¹®ÀÚ¿­ ¿øÇÏ´Â ±æÀÌ¸¸Å­ ÀÚ¸£´Â ÇÔ¼ö...

Function getString(str, strlen)

	dim rValue
	dim nLength
	dim f, tmpstr, tmpLen
	
	nLength = 0.00
	rValue = ""
	
	for f = 1 to len(str)
		tmpStr = MID(str,f,1)
		tmpLen = ASC(tmpStr)
		if  (tmpLen < 0) then
			' ÇÑ±Û
			nLength = nLength + 1.4        'ÇÑ±ÛÀÏ¶§ ±æÀÌ°ª ¼³Á¤
			rValue = rValue & tmpStr
		elseif (tmpLen >= 97 and tmpLen <= 122) then
			' ¿µ¹® ¼Ò¹®ÀÚ
			nLength = nLength + 0.75       '¿µ¹®¼Ò¹®ÀÚ ±æÀÌ°ª ¼³Á¤
			rValue = rValue & tmpStr
		elseif (tmpLen >= 65 and tmpLen <= 90) then 
			' ¿µ¹® ´ë¹®ÀÚ
			nLength = nLength + 1           ' ¿µ¹®´ë¹®ÀÚ ±æÀÌ°ª ¼³Á¤
			rValue = rValue & tmpStr
		else
			' ±×¿Ü Å°°ª
			nLength = nLength + 0.6         'Æ¯¼ö¹®ÀÚ ±âÈ£°ª...
			rValue = rValue & tmpStr			
		end if
		
		If (nLength > strlen) then
			rValue = rValue & "..."
			exit for
		end if
	next
	
	getString = rValue

End Function



'//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Function ConvertCurrency(ValueValue)				',»©°í ¼ö ¾ò±â
	
	ValueValue = replace(ValueValue, ",", "")
	if ValueValue = "" or isnull(ValueValue) then ValueValue = 0 end if
	ValueValue = CCur(ValueValue)
	
	
	ConvertCurrency = ValueValue
	
End Function

//-->
