Delphi XE - faster alternative to System.Pos function
-
12-12-2019 - |
Question
I know that a lot of code from FastStrings has been included into Delphi XE. I need to process several thousands of files and do some text processing. Is there a 'faster' alternative to the System.Pos routine?
Solution
Yes. PosEx
function is from FastCode and is much faster compared to System.Pos. It is located in StrUtils unit.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow