Thanks Phil, my fellow Saturday fellow. So how would this look in code?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Evans Sent: Saturday, 29 January 2005 9:30 AM To: CFAussie Mailing List Subject: [cfaussie] Re: Inserting line breaks after so many charachters Just a thought - Assuming you wanted to have the <br> at 50 characters or before, you could break the string up into the chunks of 50, then for each chunk, use the reverse function, then replace " " with <br> (by default does only the first one), then reverse it again. Cheers, Phil. ----- Original Message ----- From: "Chad" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[email protected]> Sent: Saturday, January 29, 2005 9:23 AM Subject: [cfaussie] Inserting line breaks after so many charachters > Bit of weekend programming here... > > How would I go about inserting <br> into a string after so many > charactrers without breaking up a word? > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
