5.7 Standard Character String Functions
5.7.3 String insertion
5-165
5
APPLICATION
FUNCTIONS
INSERT(_E)
INSERT(_E)
Operation Error
No operation error occurs in the execution of the INSERT(_E) function.
Program Example
The program which inserts the character string input to to the specified position in the
character string input to , and outputs the operation result from .
(a) Function without EN/ENO (INSERT)
[Structured ladder]
[ST]
g_string3:=INSERT(g_string1, g_string2, g_int1);
(b) Function with EN/ENO (INSERT_E)
[Structured ladder]
[ST]
g_bool3 := INSERT_E(g_bool1, g_string1, g_string2, g_int1, g_string3);
s2
s1
d