shell: extend with string functionality
shell: support ":" separator

Useful for tshark.