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)

Project Activity

See All Activity >

License

MIT License

Follow Delphi fast Pos & StringReplace

Delphi fast Pos & StringReplace Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

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.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
1
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

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
    Posted 2022-03-03
    It was developed in 10.3 and tested in XE4 and XE5. It would be very useful to know the circumstances under which you get a crash. If you can send code I will analyse. My email is in the documentation.
Read more reviews >

Additional Project Details

Operating Systems

Windows

Registered

2021-06-01