Please enable JavaScript to view this site.

ESL Documentation

When creating messages, it is often necessary to insert values into the message (for example, a filename, a number, a name). If the message is created by concatenating parts of the message with the values, then it can be difficult to translate the message to other languages.

The functions Substitute1( ) to Substitute9( ) have been provided in the ESLSTR Library to substitute one or more strings into a single message string.

The markers "%1" to "%9" are placed in the message string; the function replaces the markers by a copy of the appropriate string. This allows the message string to be more easily translated, without requiring any other change to the program.