String starts with
What this tool does
This tool checks if one piece of text appears at the very beginning of another piece of text. It helps you verify the start of a value, such as confirming that a word, name, or code begins with a specific letter or sequence. This is useful for data cleaning and validation tasks where prefix matching is required.
When to use it
- Checking if an email address starts with a specific name or domain.
- Verifying that a product code begins with the correct department prefix.
- Ensuring a customer name or city name starts with the expected letter.
- Validating that a reference number follows a specific starting pattern.
What to expect
The tool returns a simple yes or no indicator showing whether the first text starts with the second text.
Limitations
- The check is case-sensitive, meaning 'A' and 'a' are treated as different characters.
- It only checks the very beginning of the text, not the middle or end.
- If either input is empty, the tool may not provide a useful result for your specific business rule.
When it fails
- You do not provide both pieces of text in the required fields.
- The inputs are left blank, which prevents the system from performing the check.
Good to know
- You can use this tool to quickly filter lists based on how they start.
- Remember that spaces are counted as characters, so a space at the start will affect the result.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
text1 | Yes | test | The main text to check (required). Enter the full word or phrase you want to examine. |
text2 | Yes | t | The starting characters to look for (required). Enter the short word or character sequence that should appear at the beginning. |
Output data
| Field | Description |
|---|---|
result | A yes/no indicator showing whether the main text begins with the specified characters. For example, if 'text1' is 'hello' and 'text2' is 'he', the result is true. |