TextSubSubstitute

InstallShield 2018 ยป InstallScript Language Reference

The TextSubSubstitute function performs text substitution on svString. The bGlobalOnly parameter specifies whether the function performs local text substitutions.

Syntax

TextSubSubstitute ( svString, bGlobalOnly );

Parameters

TextSubSubstitute Parameters

Parameter

Description

svString

Specifies the string on which text substitution is performed.

bGlobalOnly

Specifies whether TextSubSubstitute performs only global text substitutions (TRUE) or both global and local text substitutions (FALSE); for more information, see Text Substitutions.

Return Values

TextSubSubstitute Return Values

Return Value

Description

ISERR_SUCCESS

TextSubSubstitute successfully performed text substitution.

< ISERR_SUCCESS

TextSubSubstitute failed to perform text substitution.

See Also