Tips & Tricks

Pos Support (IntelliCalcs function)

1 minute read

Pos

Returns the position of a test value within a string, or zero if the test string cannot be found.

Syntax            Pos(String1, String2)
Description            Returns character position with String1, where String2 occurs or zero

 

Examples

Pos(“test”, “This is a test”)

returns 11

Pos(“where”, “Returns character position with String1, where String2 occurs or zero”)

returns 42

Pos(“example”, “Returns character position with String1, where String2 occurs or zero”)

returns 0

 

Last Update:

Procentia Support

7 Feb 2022