첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170
Public Function PadLeft(strSource As String, nWidth As Integer) As String
    
    PadLeft = Space(nWidth - Len(strSource) - 1) & strSource

End Function

Public Function PadRight(strSource As String, nWidth As Integer) As String
    
    PadRight = strSource & Space(nWidth - Len(strSource) - 1)

End Function
728x90
그리드형(광고전용)
Posted by icodebroker
,