@jdc101214 It works for some of the case but you'll need some conditionals for special cases, for example if the string length is shorter than num then your "..." is being applied anyway which you don't want.
@jdc101214 Try some console.log()s to see what is being outputted, this helps greatly with debugging.
@jdc101214 For almost all the algorithms, what you think will happen won't happen, and only by seeing what does happen can you find the bug in your code.
@callumquick Thanks for the help, but the consol.log doesnt work on the lessons.
jdc101214 sends brownie points to @callumquick :sparkles: :thumbsup: :sparkles: