The units StrPosDefs and StrPos32 and/or StrPos64 contain functions that extend the functionality of system.pos and sysUtils.StringReplace and they may lead to significant performance improvements.
Functionality:
• (repeated) location of substring in a string, (ANSIstring or String) with or without case sensitivity.
• Replacement of a pattern by another pattern in a string or ANSIstring (one or all, with or without case sensitivity)
Platforms:
• 32 and 64 bit windows.
Speed:
• string replacement can be 6-9 times faster than standard.
String search gain primarily in 64 bit mode (40% faster with string, 10x faster with ANSIstring).
Features
- Fast StringReplace (both 32 and 64 bit)
- Fast Pos (primarily 64 bit)
License
MIT LicenseFollow Delphi fast Pos & StringReplace
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
-
working only on windows not android, mobile use unicode not ansi
-
Good idea but : 1/ Not easy to dowload the all project : you need to dowload every file. 2/ Not clear to see the targeted Delphi versions : in D 10.3 I can't use it without crash.Reply from Delphi fast Pos & StringReplace