Mega Code Archive

 
Categories / Ruby / String
 

Taking the first letter from a string

"test"[0].chr