strings

Peter da Silva peter at ficc.uu.net
Mon May 15 05:09:58 AEST 1989


In article <1989May13.211218.24251 at utzoo.uucp>, henry at utzoo.uucp (Henry Spencer) writes:
> You can't, any more than you can improve the equivalent in some other
> languages to get the length of a trailing substring without having to
> go back to the beginning and then subtract.

Not if the string is stored as a length-and-start-address.
-- 
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.

Business: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180.
Personal: ...!texbell!sugar!peter, peter at sugar.hackercorp.com.



More information about the Comp.lang.c mailing list