Rob van der Woude's Scripting Pages

Help text for Trim.cs

(view help text of Trim.cs as plain text)

Trim,  Version 1.00
Trim leading and trailing whitespace (including linefeeds) from string

Usage:  TRIM  textfile

   or:  TRIM  text

   or:  some_program | TRIM

Where:  textfile      file containing text to be trimmed
        text          string to be trimmed
        some_program  program whose output is to be trimmed

Note:   Exit code ("errorlevel") -1 in case of errors, otherwise 0.

Written by Rob van der Woude

page last uploaded: 2020-03-25