Write a function to find the length of given string? function solve( a ){ //write your code here } Login to Submit
Input: "pen" Output: 3 Input: "book" Output: 4 Input: "a" Output: 1