Progress
Report Builder
User’s Guide


INDEX

Returns an integer that indicates the position of the target string within the source string.

SYNTAX

INDEX ( source , target [ , starting ] ) 

source

A character expression (a constant, field name, or expression that results in a character value).

target

A character expression whose position you want to locate in source. If target does not exist within source, INDEX returns a 0.

starting

An integer that specifies at which leftmost position in the string to start the search. For example, INDEX("abcdefabcdef","abc",6) returns 7. This value must be a whole number greater than 0.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095