Hi All,
I want to save mail messages with the subject name to the folder, however some mail messages has too long subject name and tearful can’t be saved. Is there a way to save mail messages only with part of the subject name and not with the full subject name? Thank you for your advise.
Use String.Substring() Function, in your case consider that strSubject is your subject line. Then you need to do something like this
strSubject.Substring(0, 50)
Also, you can try as
strSubject.Contains(“Your String”)
Hope this may help you
Thanks,
Srini
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.