ColdFusion 9.0 Resources |
WrapDescriptionWraps text so that each line has a specified maximum number of characters. Note: The wrap function does not insert line breaks
by placing the <br> tag in HTML text. Instead,
it wraps the text in the display without adding the <br> tag.
Parameters
UsageInserts 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 |