ChrSubst$

combit List & Label Designer

combit List & Label

ChrSubst$

Purpose:

Searches a string for a string that is contained in the second parameter. Every occurrence of this string will be replaced by the string defined in the third parameter. If no third parameter exists, the strings will be removed.

Parameter:

String

String

String             (optional)

Return value:

String

Example:

ChrSubst$("Otto", "Oo", "_")          Result: "_tt_"

ChrSubst$("Normalconsumer", "aeiou","??")  Result: "N??rm??lc??ns??m??r"

ChrSubst$("Normalconsumer", "aeiou")        Result: "Nrmlcnsmr"

ChrSubst$("3.1415926535",".",",")   Result: "3,1415926535"