Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Left - script and chart function

Left() returns a string consisting of the first (leftmost) characters of the input string, where the number of characters is determined by the second argument.

Syntax:  

Left(text, count)

Return data type: string

Arguments
Argument Description
text The original string.
count Defines the number of characters to included from the left-hand part of the string text.
Example: Chart expression
Example Result
Left( 'abcdef', 3 ) Returns abc

Example - Left fundamentals

Example - Left scenario

Example - Left advanced scenario

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!