Say String x = MynameisMary;
I want String Y to be "Mary"
How do i remove the first 8 characters to make Y equal to Mary??
You could use the substring method:
substring
String result = x.substring(8);