Another minor performance improvement; .Contains to .IndexOf. Thanks to @Kaelima