Course lesson

Split a String into Parts with `cut` in Bash

cut makes it quick and easy to break a string into parts based on a delimiter or get a substring. In practice, it’s somewhat similar to JavaScript’s String.split method. In this video, we’ll look at using cut to work with semver strings and truncate a long...

Duration
1 min
Access
Free
Transcript
Available

cut makes it quick and easy to break a string into parts based on a delimiter or get a substring. In practice, it’s somewhat similar to JavaScript’s String.split method. In this video, we’ll look at using cut to work with semver strings and truncate a long string.