Python Get Index Of Substring In Stringbuilder