in reply to Re: Efficienty truncating a long string
in thread Efficienty truncating a long string
Well I've looked at substr and can understand its normal non lvalue usage, but as far as I can see its a copying operator, returning a substr of the original. I want to truncate a string without the copying overhead. The lvalue version seems to be ok, but I dont quite understand how to use it to truncate a string. Any suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Efficienty truncating a long string
by PodMaster (Abbot) on Dec 18, 2003 at 09:39 UTC | |
by ysth (Canon) on Dec 18, 2003 at 10:03 UTC | |
by dino (Sexton) on Dec 18, 2003 at 10:28 UTC | |
by ysth (Canon) on Dec 18, 2003 at 16:40 UTC | |
by dino (Sexton) on Dec 18, 2003 at 09:50 UTC |
In Section
Seekers of Perl Wisdom