Ruby | String length Method
length is a String class method in Ruby which is used to find the character length of the given string.
Parameters: Here, str is the string whose length is to be calculated
Returns:It will return the character length of the str.
My Personal Notes arrow_drop_up
Please Login to comment...