Substring
Finds a string in a larger string.
Syntax
substring(String, List, Integer)
Description
Given a string , a list of strings , and a positive integer , searches in starting from the -th char. If more than one appear in the original string, only the first appearance is returned. If the find ends with no matches, failed
is returned. The output is a list with two elements: an integer with the position of the string and the string .

Given a string and a list of strings , searches in . If more than one appear in the original string, only the first appearance is returned. If the find ends with no matches, failed
is returned. The output is a list with two elements: an integer with the position of the string and the string .
