You can use MCStringFirstIndexOf here...