This command will return slice a string starting at START (inclusive) and finishing at END (exclusive).
string slice 3 8 'one|two|three'Would return |two|
NOTE: To read content from standard input we use the -i - option.
echo 'one|two|three' | string -i - slice 3 8Would return |two|