View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert Crandal[_3_] Robert Crandal[_3_] is offline
external usenet poster
 
Posts: 161
Default Remove newline char from string

My strings might have multiple newline characters at the
beginning of the string AND/OR at the end of the string.
What is a good way to remove those newline or
carriage return characters?

BTW, I am only concerned about extra newlines at the beginning
or end of the string. It is okay to have newline characters
in the middle of the string.

~Robert