Function that returns a string from between two other strings.
Parameter | Type | Description |
---|
content | string | The string to search through (e.g. Response.body) |
left | string | The string immediately before the value to be extracted |
right | string | The string immediately after the value to be extracted |
repeat (optional) | boolean | If true, the result will be a string array containing all occurrences |
Returns
Type | Description |
---|
string | The extracted string, or an empty string if no match was found. If repeat=true, this will be an array of strings or an empty array |
Example