Answered
Eliminate Spaces from Character String
Hi,
Does anyone have a simple routine/function to eliminate all but 1 space between "words" (consectutive charactives with no spaces).
For example, I'd like to convert the string (I've used '.' as a "space":
"This...has....too..many...spaces" to
"This.has.too.many.spaces".
I need this to compare inputed character strings where a user may have hit the space bar an extra time or 2.
Thanks in advance.
Does anyone have a simple routine/function to eliminate all but 1 space between "words" (consectutive charactives with no spaces).
For example, I'd like to convert the string (I've used '.' as a "space":
"This...has....too..many...spaces" to
"This.has.too.many.spaces".
I need this to compare inputed character strings where a user may have hit the space bar an extra time or 2.
Thanks in advance.
