# ALLTRIM()

Removes leading and trailing blank spaces from a string

Syntax

  ALLTRIM( <cString> ) --> cExpression

Arguments

  <cString> Any character string

Returns

  <cExpression> An string will all blank spaces removed from <cString>

Description

  This function returns the string <cExpression> will all leading and trailing blank spaces removed.

Examples

          ? ALLTRIM( "HELLO HARBOUR" )
          ? ALLTRIM( "     HELLO HARBOUR" )
          ? ALLTRIM( "HELLO HARBOUR     " )
          ? ALLTRIM( "     HELLO HARBOUR     " )
    Tests
          See Examples

Status

  Ready

Compliance

  This function is Ca-Clipper compilant

Platforms

  All

Files

  Library is rtl

See Also

- LTRIM()
- RTRIM()
- TRIM()