Unit U_Mash_Code

Description

C2PP ***************************************************************************

My libraries for Delphi Copyright (c) 1990-2026 Patrick PREMARTIN

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

***************************************************************************

This repository contains functions, procedures and classes to use in Delphi projects (console, VCL, FireMonkey and others). It's my "everything reuseable things" toolbox.

The units to be used in your projects can be found in the "src" folder. Some features are explained on my blog or have been coded live on Twitch.

Examples of use in the form of VCL or FireMonkey projects are available in the "samples" subfolder.

***************************************************************************

Author(s) : Patrick PREMARTIN

Site : https://librairies.developpeur-pascal.fr

Project site : https://github.com/DeveloppeurPascal/librairies

*************************************************************************** File last update : 2026-03-30T16:35:19.666+02:00 Signature : aa32512d30af9b6d16cfda588a0bf61209ca565a ***************************************************************************

Overview

Functions and Procedures

Function Set_Maj_Chaine(Chaine : String) : String;
Function Kill_Space(Chaine : String) : String;
Function Mash_Code(Chaine : String) : String;

Description

Functions and Procedures

Function Set_Maj_Chaine(Chaine : String) : String;

Auteur: Prémartin Patrick. Date: 17/02/1991.

But: Cette unit‚ contient une fonction qui renvoie le Mash-Code d'une chaine pass‚e en paramŠtre. Le Mash-Code est une sorte de concatenation de la chaine permettant de la comparer ais‚ment … d'autres chaines ayant une orthographe approximativement identique.

Function Kill_Space(Chaine : String) : String;

Renvoie la chaine en majuscules.

Function Mash_Code(Chaine : String) : String;

Renvoie la chaine sans les espaces qu'elle contenait.

My libraries for Delphi (c) 1990-2026 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 1.0.2.