Skip to main content

Trim - script and chart function

Trim() returns the input string trimmed of any leading and trailing spaces.

Syntax:  

Trim(text)

Return data type: string

Examples and results:  

Examples and results
Example Result
Trim( ' abc' ) Returns 'abc'
Trim( 'abc ' ) Returns 'abc'
Trim( ' abc ' ) Returns 'abc'

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com