Maptitude GISDK Help

Trim()

Summary

Removes the leading and trailing spaces from a string.

 

Syntax

trim_string = Trim(string input_string)

 

Argument Contents
input_string Any string

 

Returns

A string identical to input_string, except that all leading and trailing spaces are removed.

 

Example

new_str = Trim("     This string needs trimming     ")

// new_str = "This string needs trimming"

 

See Also

Function Summary
Left() Returns the leftmost n characters of a string
Right() Returns the rightmost n characters of a string

 

 

©2025 Caliper Corporation www.caliper.com