function LastIndexOf(subs, str) { return Len(str) - Find(subs, Reverse(str)) + 1; }