#### ExtractString

##### ExtractString(String origin, String start, String end)

This function is used to evaluate an origin string and returns the first occurrence of a String that starts with the Start String and ends with the End String. If the End String is not found, the string that starts with the Start String till its end will be returned.

Parameters

- origin - A String value.
- start - A String value.
- end - A String value.

Return value

The return value is a String.

Examples

- The return value of the following statement is a String day.

  `ExtractString("one day after that day", "d", " ")`

- The return value of the following statement is day after that day.

  `ExtractString("one day after that day", "d", "c")`