|
Boost : |
From: zaufi_at_[hidden]
Date: 2004-07-22 00:43:59
hi boosters
I would like to propose one more algorithm to SAL -- squeeze. It removes
leading/trailing spaces and duplicate spaces between words. So sample string
" This is \n\n a test \n" become "This is\na test". I use this
function with XML/HTML related code to 'normalize' content... Hope this will
help to smbd else ;)
Have fun!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk