Check if a string starts with a specified prefix
1. Component introduction
Prerequisites: None
Use this component to check if a string starts with a specified prefix.
2. Inputs
For more information about each input, see the help text in the component panel of the application flow editor.
3. Outputs
For more information about each output, see the help text in the component panel of the application flow editor.
4. Component usage example
4.1. Component configuration example
For
Target String, select the target string variable from the drop-down list.For
Target Prefix, enter "Welcome".Keep the default values for the advanced options.
4.2. Example execution result
None
5. Sample flow
Build the flow
Use the Set Variable Value component to set the value of a string variable.
Use the Check if String Starts with Prefix component to check if the target string starts with the specified prefix.
Use the Record Log component to print the return value of the Check if String Starts with Prefix component.

Execution result
After the flow runs successfully, the check result is printed to the log panel, as shown in the following figure.