Stata 11 help for trim()

help trim() -------------------------------------------------------------------------------

Title

[D] functions -- Functions

String function

trim(s) Domain: strings Range: strings without leading or trailing blanks Description: returns s without leading and trailing blanks; equivalent to ltrim(rtrim(s)). trim(" this ") = "this"

strtrim(x) is a synonym for trim(x).

Also see

Manual: [D] functions

Help: [D] functions, [D] functions (string functions)


© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index