Try using the .IndexOf method in conjuction with the Substring method.