08 Jan, 2011, plamzi wrote in the 1st comment:
Votes: 0
I'd like to be able to wrap long lines nicely in an all-C codebase but string processing in C is not my strength.

I came across this function in the repository:

http://www.mudbytes.net/index.php?a=past...

But it's basically chopping off the string, not wrapping it nicely at the nearest space character.

I was wondering if anyone has something better they can share.

Thanks in advance.
08 Jan, 2011, Scandum wrote in the 2nd comment:
Votes: 0
Lola has decent word wrapper. act_comm.c line 4282. You can use it as is if you mention it was written by David Bills and Dug Michael, with enhancements by me.

http://www.mudbytes.net/file-2644
09 Jan, 2011, plamzi wrote in the 3rd comment:
Votes: 0
Scandum said:
Lola has decent word wrapper. act_comm.c line 4282. You can use it as is if you mention it was written by David Bills and Dug Michael, with enhancements by me.

http://www.mudbytes.net/file-2644


Muchas gracias. Just what I needed. Properly credited.
0.0/3