cut can be used to pull out parts of a file. You can use many different options on how to parse it out. You can do it by character or by delimeter and more. For example
cut -d " " -f 1 myfile.txtwould cut with the first field, as identified by the delimeter of a space.