A function to squeeze blanks in the middle of a string. SPACE and STRIP functions remove leading and trailing blanks but there is no function in Regina Rexx to remove embedded blanks.
SPACE removes leading and trailing blanks AND compresses multiple consecutive spaces in a string to a single space.
say '['space(' this has spaces ')']' results in '[this has spaces]'
Works for me. What version of Regina and what platform are you running on?
REXX-Regina_3.4(MT) 5.00 30 Dec 2007 on Ubuntu Jaunty 9.04.
No response from originator as to why SPACE doesn't work. Works for me.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.