Results 1 to 2 of 2


  1. #1
    <{include}> Guest

    Default FUNCTION

    FUNCTION MyWrap(WrapString,w)<BR> length = len(WrapString)<BR> NewWrapString = ""<BR> length = length - w<BR> while length &#062; 0<BR> NewWrapString = NewWrapString & Left(WrapString, w) & "<BR>"<BR> WrapString = Right(WrapString, length)<BR> length = length - w<BR> wend<BR> MyWrap = NewWrapString <BR>END FUNCTION<BR><BR>I cant figger it out it wont out put the string <BR>so what it suppost to do is cut the line after so many Cols <BR>and the move it down a line but its not out putting anything

  2. #2
    Steve Cimino Guest

    Default Elaborate

    What does WrapString contain before it gets there? What does w contain? Use response.write to get the values of these BEFORE you call your function.<BR><BR>You need to supply more information in order to troubleshoot this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts