[Gambas-user] trimming extra spaces from within a string.

Christof Thalhofer chrisml at deganius.de
Tue Nov 10 00:07:34 CET 2020


Am 09.11.20 um 23:24 schrieb Bruce Steers:

> I'm reading it wrong aren't I :(
> 
> looing at the InTrim snapshot it looks like it's using my method AND
> regexp too?

Ups, sorry, you are right ... but:

Your code makes about 1400 ms for *one* round while the others need
about 2400 ms for *500* rounds. So the regexp code does not change
anything ...

;-)

And that nice program is the Gambas profiler you find in the IDE in the
'Debug' menu.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201110/920db9b0/attachment-0001.sig>


More information about the User mailing list