Create stripLine method to get different values from line