You can use MCStringBeginsWithCString() here.