This project is read-only.
Replaces all repeated spaces, newlines and tabs with a single space.

Optional parameters:

First - the string to replace with. Default is a single space.

{"Scientists discover\nlife and water\t    on mars"|strip}
{"Scientists discover\nlife and water\t    on mars"|strip:" "}


Will output

Scientists discover life and water on mars
Scientists discover life and water on mars

Last edited Feb 17, 2010 at 10:59 AM by JacoPretorius, version 1

Comments

No comments yet.