January 1, 2005

WinTask - StrTrim

'
' StrTrim - Remove all of a group of characters from the beginning and end of a string.
'
'   note: the search IS case-sensitive???
'

' Author: Joe Strazzere
'

 

a$="                       this is a test..................."
b$=" ."

 

ret=External("shlwapi.dll","StrTrimA",a$,b$)

msgbox("["+a$+"]")