next line in string javcascript code example Example: javascript string return character var str = "HELLO WORLD"; var res = str.charAt(0);