I need a function that ignore reading the rest of a stringĀ
For example if a character is "/" I want to ignore reading it and what comes after it till the end of the string .
If I have this tring
String a= " adfh//ghjl"
I want my code to ignore reading characters "//ghjl".