set command_format_procs "/neowebscript/commands/command_include.nws" load_virtual $command_format_procs ############################## # # # Begin variables - start editing with new info # # ############################## set command_name "wrap" set title_name "WRAP" set package_name "Neowebscript" set short_description "Add hard wrapping to a string of text" set synopsis {
  • wrap string maxlength ?-html? } set description { Returns a modified string of consecutive characters. Hard wrapping is inserted at whitespace at or before maxlength number of characters. This command is very useful in conjunction with mail (refer to open_outbound_mail), Usenet postings (refer to open_post_news) and other environments that do not always perform automatic soft wrapping of text.

    wrap normally performs hard wrapping by inserting newline characters. But using the -html switch, newlines can be replaced with <BR> tags to reproduce the effect of hard wrapping of text in an HTML document without relying on the <PRE></PRE> elements. } ############################## # # # End variables - do not edit past this point # # ############################## emit_command_page