RE: [PHP] Breaking a line in two

2008-08-17 Thread Warren Vail
You might want to consider wordwrap(), which will count out to the length you specify. If the next character is not a blank, it will back up to the first available blank and insert the break character you choose at that point (inplace of the blank), "" is a valid option, and it will continue doing

Re: [PHP] Breaking a line in two

2008-08-17 Thread Ashley Sheridan
Hi Ron, This should do the trick: ', $pos, 0); ?> Ash www.ashleysheridan.co.uk --- Begin Message --- Is there a way to add midway through a string, following the first available space? Example: The cat jumped up high. This is 23 characters long. I want added after the 12th character,