469,906 Members | 2,188 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

WRAP function not working

Expand|Select|Wrap|Line Numbers
  1. <h3>Wrap Example</h3>
  2. <cfset inputText1="Inserts line break at the location of the first white space character (such as a space, tab, or new line) before the specified limit on a line. If a line has no whitespace characters before the limit, inserts a line break at the limit. Uses the operating-system specific line break: newline for UNIX, carriage return and newline on Windows.If you specify the strip parameter, all existing line breaks are removed, so any paragraph formatting is lost.Use this function to limit the length of text lines, such as text to be included in a mail message. The cfmail and cfmailpart tag wraptext attributes use this function ">
  3. <cfoutput>#Wrap(inputText1,70)#</cfoutput>
  5. <cfdocument filename="d:\pdft.pdf" overwrite="true" format="pdf">
  6. <h3>Wrap Example</h3>
  7. <cfset inputText="Inserts line break at the location of the first white space character (such as a space, tab, or new line) before the specified limit on a line. If a line has no whitespace characters before the limit, inserts a line break at the limit. Uses the operating-system specific line break: newline for UNIX, carriage return and newline on Windows.If you specify the strip parameter, all existing line breaks are removed, so any paragraph formatting is lost.Use this function to limit the length of text lines, such as text to be included in a mail message. The cfmail and cfmailpart tag wraptext attributes use this function ">
  8. <cfoutput>#Wrap(inputText,70)#</cfoutput>
  10. </cfdocument>

this code not working ..could u plz?word not wrapingg
Apr 8 '09 #1
1 3923
16,027 Expert Mod 8TB
Is it not working in both cases or just within cfdocument?
Apr 9 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by leegold2 | last post: by
3 posts views Thread by Fluffy Convict | last post: by
8 posts views Thread by name | last post: by
8 posts views Thread by Mark D. Smith | last post: by
10 posts views Thread by Lorenzo Thurman | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.