Check out the Split function of a string.