最佳答案
I am trying to find a function for select e.g. first 100 chars of the string. In PHP, there exists the substr function
Does Ruby have some similar function?