thankyou. I will definitely give you credit in the credits and readme.hart wrote:CompWiz, your code is pretty inefficient, so use this code instead. It should work for most cases, and it is relatively small and fast. Just remember to give credit. Also tell me if you find any problems with it.
Code: Select all
DelVar XDelVar Y While X<length(Str1 While sub(Str1,1,1)=" // 1 space sub(Str1,2,length(Str1)-1->Str1 End Repeat max(X={16,length(Str1 X+1->X If sub(Str1,X,1)=" // 1 space X->Y End Disp sub(Str1,1,min(Y(Y>12)+16(Y<=12),length(Str1 If X!=length(Str1 Then sub(Str1,Y(Y>12)+16(Y<=12)+1,length(Str1)-Y(Y>12)-16(Y<=12->Str1 DelVarXDelVar Y End:End
![Very Happy :D](./images/smilies/grayscale_happy.gif)