In the attached stack I am trying to remove all leading spaces from each line, using:
Code: Select all
put replacetext( \
fld "Original", \
"(^ +)", \
"") \
into fld "Replacement"
I could use more complex constructions, e.g. "char before is a return", but I want to keep it simple.
Grateful for any ideas.
Regards
Kaveh