The Conroy & Conroy Subroutine Library (2021.3 edition)

Get_Text
What: string function
File: L10n
Layer: 0
Platforms: C++, C#, Pascal (all), PHP, Python
Format: Substitute3( const Value, Sub1, Sub2, Sub3 : AnsiString )

Returns a string that substitutes Sub1 for all instances of "$1" in Value, all instances of "$2" with Sub2, and all instances of "$3" with Sub3. Note that if Sub1 contains "$1", only the first occurrence is substituted. If Sub2 contains "$2", only the first occurrence is substituted. If Sub3 contains "$3", only the first occurrence is substituted.