StartsWith (String str, String value)

Example

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

Where,

str = ABCDEF

startsWith = B

Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has returned the Boolean value, False, which means the original string does not start with the given value.