[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] String -> Number
- Subject: [ale] String -> Number
- From: rslau at mindspring.com (Bob Slaughter)
- Date: Mon, 17 Mar 2003 14:39:47 -0500
> Darn!
>
> chomp() strips NL, Not CR's. I've got a lingering CR on the end. How
> can I remove that one?
chop() ; removes the last character of the string, period. Some caution
advised so that you don't chop real data.
--
Bob Slaughter, rslau at mindspring.com http://www.mindspring.com/~rslau/
North Georgia Modurail: http://www.mindspring.com/~rslau/ngm/
In which language of the world does the word 'taxi' mean "I cannot drive"?
e'osai ko sarji la lojban fo lonu pilno -- http://www.lojban.org/
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale