Editar

Compartir a través de


SecretText.SecretStrSubstNo(Text [, SecretText,...]) Method

Version: Available or changed with runtime version 12.0.

Replaces %1, %2, %3... and #1, #2, #3... fields in a string with the values you provide as optional parameters.

Syntax

NewSecretText :=   SecretText.SecretStrSubstNo(String: Text [, Value1: SecretText,...])

Note

This method can be invoked without specifying the data type name.

Parameters

String
 Type: Text
A string containing '#' and/or '%' fields.

[Optional] Value1
 Type: SecretText
One or more values (expressions) that you want to insert into String. You can specify up to 10 values.

Return Value

NewSecretText
 Type: SecretText
Returns a new SecretText with the provided values inserted into the specified string.

SecretText Data Type
Getting Started with AL
Developing Extensions