@Owais93 I recommend reading through this thread: Basic Algo Scripting: Truncate a String
Essentially, the solution that you’re drawing from isn’t up to date. That num > 3
is reflective of an older, more difficult challenge where you had to include the ‘…’ as a part of the string length.