Tests whether the first string is a prefix of the second string
Tests whether the first string is a suffix of the second string
get_rest s t returns some r if s = t ++ r. If t is not a prefix of s, returns none
Removes the first n elements from the string s