In addition to generating a string with random characters, it is also possible to generate a word-like string that you can use in word game or for authentication keys.
Continue reading “Generate random word-like string in Delphi”Generate random string in Delphi
Generating a string with random characters is a good feature that can be used for making authentication codes, hash salts, etc.
Continue reading “Generate random string in Delphi”Remove accents and diacritical marks from letters in Delphi
When working on datasets in multiple languages or in a language other than English, you can encounter string values with accented letters (like : à, é, è, ï, …).
If your database controls have unicode support with no settings to tolerate accents, then filtering records can be kind complicated to find records containing diacritics and accented letters, as most users won’t pay attention when writing the filter pattern.
Continue reading “Remove accents and diacritical marks from letters in Delphi”Replace strings in Delphi dataset records
How to replace a string quickly in the whole dataset ? How to create a fast replace dialog for your app’s datasets ?
In this tutorial, we will explains the right procedure to implement a replace feature for your Delphi datasets.
Continue reading “Replace strings in Delphi dataset records”Difference between adding a unit to the interface or the implementation section
Object Pascal units have two sections (interface and implementation), and as you can see in many source code, each section can have distinct items (uses, types, variables, and constants).
So, which section is suitable for putting a unit as uses ?
Continue reading “Difference between adding a unit to the interface or the implementation section”Lazarus 2.0.12 is released
The version 2.0.12 of Lazarus IDE is officially released, according to the Lazarus team.
Continue reading “Lazarus 2.0.12 is released”