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: Substitute2( const Value, Sub1, Sub2 : AnsiString )

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