I am trying to find a function to select, for example, the first 100 characters of a string. PHP has a substr function
Does Ruby have a similar feature?
function string ruby char substr chars
user1946705 Jun 21 '11 at 10:41 2011-06-21 10:41
source share