Find the length of strings in an array

Note: This problem needs knowledge of topics you haven't covered yet. Reading List

Problem Statement

Given an array containing some strings, return an array containing the length of those strings.

You are supposed to write a method named 'length_finder' to accomplish this task.

Example:
Given ['Ruby','Rails','C42'] the method should return [4,5,3]

Hint

Tip 1: Go through the reading list. Especially: string_length and transforming_arrays Tip 2: Use an array transformation like map to find the length of each element.

Output Window


Reading list for this problem

You are yet to work on:

Congratulations, guest!


% of the book completed

or