Command Prompt for Windows




Command STRTRIM

Function:

Remove leading and trailing space characters from a text string. The resulting string is stored in an environment variable called STRTRIM.

Syntax:

STRTRIM [text]
textA sequence of characters.

Note:

Also see command STRPAD and Batch Files.