--- title: "Get Longest Matching String In String" slug: "get-longest-matching-string-in-string" tags: ["match", "string"] updated: 2022-11-28T18:51:03Z published: 2022-11-28T18:51:03Z canonical: "documentation.decisions.com/get-longest-matching-string-in-string" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Longest Matching String In String | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Data > Text | The **Get Longest Matching Strings** in String Step helps the user look at a list of strings from the source text and returns only the string that matches that is the longest. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Case Insensitive | If this setting is true, this step will treat upper and lowercase letters as the same. | Boolean | | Source Must Start With | If true, will check if the source text starts with specified strings | Boolean | | Source Text | Input text to check if the specified strings exist within this text. | String | | Strings To Look For | List of strings to see if they exist in the Source Text. | List of String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The longest string that matches the source text | String | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1669231871937.png) ## Related - [String Match Step](/string-match-step.md) - [Get All Matching String In String](/get-all-matching-string-in-string.md)