java string charat code example
Example 1: javascript get first character of string
var str="Hello Folks!"
var firstStringChar = str.charAt(0);
Example 2: get certain character from string java
String words = "Hi There";
char index = words.charAt(0);
System.out.println(index);
Example 3: character at index of string java
String str = "Grepper";
char ch = str.charAt(0);
Example 4: javascript charat
myString = "Hello World!";
console.log(myString.charAt(0));
console.log(myString.charAt(5));
console.log(myString.charAt(8));
console.log(myString.charAt(23));
Example 5: string charAt
charAt(index)
Example 6: string char at java
char ch=name.charAt(4);