Description
This function will return the first occurrence (in the origin string) of a string that starts with the startStr and ends with endStr.
Action
This function will return the first occurrence (in the origin string) of a string that starts with the startStr and ends with endStr. If the endStr is not found, the string starting with startStr until the end of the string is returned.
Examples
StringVar strTest := "James and crystal";
ExtractString (strTest,"J","s");
Returns "ame".
StringVar strTest := "James and crystal";
ExtractString (strTest, "", "s");
Returns "Jame".