cut

    echo "hello: world: earth" | cut -d: -f1
    hello