Lead Web Developer Interview Questions

18,878 lead web developer interview questions shared by candidates

Given a string, you want to write a function that will shorten the length of the string to a given length, but you want to do it so there are no parts of words, unless the string is only one word. Example "Hello World" and the length 8 are given to you. You want to shorten this to "Hello" not "Hello Wo"
avatar

Web Programming Internship

Interviewed at Indeed

3.8
Jan 31, 2012

Given a string, you want to write a function that will shorten the length of the string to a given length, but you want to do it so there are no parts of words, unless the string is only one word. Example "Hello World" and the length 8 are given to you. You want to shorten this to "Hello" not "Hello Wo"

Viewing 7911 - 7920 interview questions

Glassdoor has 18,878 interview questions and reports from Lead web developer interviews. Prepare for your interview. Get hired. Love your job.