Skip to content

Instantly share code, notes, and snippets.

@asynxc
Created September 28, 2016 21:07
Show Gist options
  • Save asynxc/ee11671ba1ac18a41f23d62a7733c9d4 to your computer and use it in GitHub Desktop.
Save asynxc/ee11671ba1ac18a41f23d62a7733c9d4 to your computer and use it in GitHub Desktop.
'Alternatime_LTrim Function
'MSVBVM60.rtcLeftTrimBstr
Private Declare Function rtcLeftTrimBstr Lib "MSVBVM60" (ByVal ItemPtr As String) As String
Function Alternatime_LTrim(ByVal StrItem As String) As String
Alternatime_LTrim = StrConv(rtcLeftTrimBstr(StrConv(StrItem, vbUnicode)), vbFromUnicode)
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment