TRIM

Jerry DeLisle jvdelisle@charter.net
Fri Jul 18 21:59:00 GMT 2014


On 18/07/14 02:08, Salvatore Filippone wrote:
> Thanks Arjen.
> A bit of context: an intern was testing some code that was not doing
> what it was supposed to do because it was driven by character inputs
> and in one of them there were trailing tabs that TRIM did not remove.
> I guess I'll have to implement my own, and of course this will  open
> an uncountable infinity of cans of worms as soon as I straddle any
> operating system boundary.....
> 

The reason we don't trim tabs is to provide training fodder for all new computer
users.  It has been done this way for over half a century in order to build
character and develop attention to detail.  Without this feature our younger
generations might start thinking the computer can do everything.

;)

Jerry



More information about the Fortran mailing list