trim() Table of Contents Definition Examples Further Reading Definition trim() trims given characters from the string. Examples The following example removes 'Z' letters from the both sides of the string value. | makeresults | eval n=trim("ZZZabcdZZZ", "Z") Further Reading ltrim() rtrim() makeresults eval tanh() Transforms