Hayblock random utilities/How tt.wrap works

The code that makes this work: while " " in slr1: slr1 = slr1.replace(" "," ") funcReturn(slr1) Alright, let's go through the process of how it works. First of all should be the string with excessive spaces, ready to be wrapped up.

So, if has a double space, the string has spaces to be wrapped, so the code in the  loop would activate. If not, then it would just pass the loop, and go right to, ending the script, and doing nothing to the already space-wrapped string.

However, if the loop is activated, it will replace all double spaces with single spaces. It may not seem obvious at first, but the loop is slowly wrapping up spaces. For example, if is "The    sun     is     so    bright         today   !" the loop would do this: The   sun     is     so    bright         today   ! The sun   is   so  bright     today  ! The sun is  so bright   today ! The sun is so bright today ! The sun is so bright today !
 * change all double spaces to single spaces x1*
 * x2*
 * x3*
 * x4*
 * Done!*