Skip to main content

Index - script and chart function

Index() searches a string to find the starting position of the nth occurrence of a provided substring. An optional third argument provides the value of n, which is 1 if omitted. A negative value searches from the end of the string. The positions in the string are numbered from 1 and up.


Index(text, substring[, count])

Return data type: integer


Argument Description
text The original string.
substring A string of characters to search for in text.
count Defines which occurrence of substring to search for. For example, a value of 2 searches for the second occurrence.

Join the Analytics Modernization Program

Modernize by leveraging your QlikView investment to begin using Qlik Sense on the Cloud.

Want to know more?
Remove banner from view