Answers for "how to get the first character of a string in ruby"

1

ruby first letter string

string = "toto"
string[0] = "t"
Posted by: Guest on December-14-2020

Code answers related to "how to get the first character of a string in ruby"

Browse Popular Code Answers by Language