Skip to main content Skip to complementary content

Left - script and chart function

Left() returns a string consisting of the first (left-most) characters of the input string, where the number of characters in the returned string is determined by the second argument.

Syntax:  

Left(text, count)

Return data type: string

Arguments:  

Left arguments
Argument Description
text The original string.
count Defines the number of characters to included from the left-hand part of the string text.

Examples and results:  

Examples and results
Example Result
Left('abcdef', 3) 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