If we have an entire String, for example:
“cebu cm solutions”
we can take part of that String by calling the String.substring(<index>); or by String.substring(<firstindex>, <lastindex>).
if we would like to display “cm solutions”, just use String.substring(5);
if we would like to display “cm” just use String.substring(5,7);
NOTE: Always remember in Java that String is an Object, not a primitive variable
See another tutorial here: