To check if a string value starts or ends with a given string you can use the str starts-with and str ends-with commands.
The command returns a boolean value: true if the string starts or ends with the given string and false otherwise.
The commands are case sensitive by default.
You can use the --ignore-case (or the shorthand -i) to ignore casing while checking if a the string starts or ends with a given string.
To input can be a string value and then that string value is checked.
If the input is an array of string values, then each element is checked.
It is also possible to check values in a record or table.
You need to pass the names of the field(s) or column(s) that you want to check the string values of.