Assign an ASCII character to a string data member

Use the assignment operator to assign an ASCII character to an element of the DATA member of a string tag. To assign a character, specify the value of the character or specify the tag name, DATA member, and element of the character. For example:
This is OK
This is not OK
string1.DATA[0] := 65;
string1.DATA[0] := A;
string1.DATA[0]:= string2.DATA[0];
string1 := string2;
Tip:
This assigns all content of string2 to string1 instead of just one character.
To add or insert a string of characters to a string tag, use either of these ASCII string instructions:
To
Use this instruction
Add characters to the end of a string
CONCAT
Insert characters into a string
INSERT
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.