TURBU Tech – I’ve been doing a lot of string processing work lately. Delphi has a lot of strengths, but unfortunately string manipulation really isn’t one of them. It gets really messy really quickly if you’re trying to do anything complicated. Extracting substrings out of strings quickly degenerates into a mess of difficult-to-read Copy calls. It would sure be nice if there was a better way. There is a better way, by the way. Python has it; it’s called “slicing.” You know how in Delphi, you can use array[subscript] notation to get a single item out of an array? ...
Visits by Source
Users who voted for this posting