|
-
Jan 11th, 2006, 04:10 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] trim doesnt work -vba outlook
hey,
does anyone has any idea why trim (StrVar) doesn't remove the spaces in the begining and in the end of the string.
the code is simple:
StrVar = right (Item.Body,50)
StrVar = trim (StrVar)
msgbox StrVar "before" & StrVar & "after"
for the body ending in " 1234 " I still get the same string with all the spaces
I'm sure this is really stupid, but I still can't see how...
thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|