FindIntStart (Int32)

Example

In this example, we are passing the required parameters to the function transformation object using a Variables object.

Where,

lookFor = g

lookIn = ABCDEFGABCDEFG

startAt = 7

isCaseSensitive = False

Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has returned the integer value “13”, indicating that the lookFor value’s positional integer value in the lookIn string is “13”. Note that since the specified starting position is “7”, the intital lookFor value, “g”, in position “6”, has been ignored.

Below are preview windows with startAt values, “7” and “0”:

© Copyright 2023, Astera Software