Utilize elements of substrings to perform various complicated functions