The following code sample shows the use of the functions Substitutel( ) and Substitute2( ).
copy ReplyToMessage("Open File",
Substitute 1 ( "Cannot find file \"%1\".",
Filename_SV),
MessageOK, I, MessageWarning)
to Temp_SV
change Primary_GR text
to (Substitute2( "Document %1 is accessed by user %2", Document_SV, User_SV))
change Primary_GR text
to (Substitute2( "%2 is accessing %1'1, Document_SV, User_SV))