Reduce dependency on autodetection of EOL i.e. '\0' by using
actual string lengths as arguements instead of relying on -1 behavior.
Authored by: tmh 2001-09-29
Parent: [r358]
Child: [r360]