scala string get char
scala> "hello"(0)
res1: Char = h
scala> "hello"(1)
res2: Char = e
Sasso
scala> "hello"(0)
res1: Char = h
scala> "hello"(1)
res2: Char = e