Split string by capital letters php

    By: Manu
    4 years ago
    Category: PHPViews: 19

    Do something like this

    echo implode(" ", preg_split('/(?=[A-Z])/', $auditable));
    

    This will look for capital letters and will add space in there