Tag Archives: Rd Position

substring(int beginindex, int endindex) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes

substring(int beginindex, int endindex) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes substring(int beginindex, int endindex) : substring(int beginindex, int endindex) function is used to extract a part of the string. This extracted part of the main string is known as the Substring. Syntax : String var=str.substring(index); Example : String str= “COMPUTER”; […]

Character is charAt (int index) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes

Character is charAt (int index) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes   charAt(int index) : charAt(int index) function returns a characters from the given position of the String.   Syntax : char variable = variable.charAt(index);   Example : String str = “COMPUTERS”; char ch = str.charAt(3); Output : P Here […]