Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: Missing from manual -- WORDWRAP  (Read 1198 times)
0 Members and 1 Guest are viewing this topic.
kenbrody
Administrator

Posts: 82


View Profile
« on: September 28, 2006, 09:45:15 AM »

The following was missing from the 5.6 manual, though it is in the help file. (The manual is being updated.)

-----------------
Wrap information:
-----------------

    xx = WORDWRAP(field,width [,flag] )
    xx = @WORDWRAP
[linenum][/list]
The WORDWRAP() function generates wordwrap information for the given field, as wrapped to the given width.  It returns the number of lines that result.  The optional flag parameter can be any of:
    "0" - Return text as-is
    "1" - Strip trailing spaces
    "2" - Include hard-returns in the text.
    Other values are currently undefined.
    The default is "0".

The @WORDWRAP[] array returns wach line of wrapwrapped text from the most recent WORDWRAP() call.
Logged

Kenneth Brody
aka "Mr. filePro"  :-)
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.15 | SMF © 2011, Simple Machines | Massive Blue Theme By Cadosoas Valid CSS!