Skip to content

Instantly share code, notes, and snippets.

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