TextSub Object
InstallShield 2020 ยป InstallScript Language Reference
Project:This information applies to InstallScript projects.
The TextSub object is used for making text substitutions. It has the following property and method:
Properties
Property |
Description |
Value( szIdentifier ) |
The value of the string associated with the identifier szIdentifier. |
Methods
Method |
Description |
Substitute( szString ) |
Replaces all angle-bracketed identifiers in szString with their associated strings. |
Example
The following code:
TextSub.Value( "SUBBED" ) = "substituted text";
szString = "123<SUBBED>456<UNSUBBED>789";
TextSub.Substitute( szString );
gives szString the value "123substituted text456<UNSUBBED>789".