Command Split By Delimiter

[Solved] Command Split By Delimiter | Perl - Code Explorer | yomemimo.com
Question : command split by delimiter

Answered by : hurt-hare-hj5qnub070sm

#Just use awk specifyingj your own delimiter and which substring to use.
echo 'first delimiter second' | awk -F 'delimiter' '{ $print 0 }'
first
#0 means first substrin, 1 second, 2 thrird and so on

Source : | Last Update : Tue, 12 Oct 21

Answers related to command split by delimiter

Code Explorer Popular Question For Perl