squish - luxembourg/muxcode-clm GitHub Wiki

SQUISH()

FUNCTION: squish(<text>[,<character>])

This function replaces multiple occurrences of <character> in <text> with a single occurrence. If <character> is not specified, it defaults to a space.

Examples: > @wait 0=@va me=Foo[space(5)]Bar Set. > think %va Test Test > say squish(%va) Test Test > think squish(....Foo....Bar....,.) .Foo.Bar.

Related Topics: strip, trim