Task#23: Text trimming