7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
697
7
• When the number of characters of the data in the device specified by (s2)+1 is -1, the data till the last character data in the
device specified by (s1) is stored in the device specified by (d) and later.
Error code
(SD0)
Description
2820H There is no NULL code (00H) in each setting area in the device/label memory in the device specified by (s1) and later.
There is no NULL code (00H) in each setting area in the device/label memory in the device specified by (d) and later.
3405H The number of characters of the character string in the device specified by (s1) exceeds 16383.
The number of characters of the character string in the device specified by (d) exceeds 16383.
An out-of-range value is set to (s2).
• The value in the device specified by (s2) is 0 or less.
• The value in the device specified by (s2)+1 is other than the valid values (-1, 0, 1 or bigger).
• The value in the device specify by (s2) exceeds the number of characters in the device specified by (d).
• The value in the device specify by (s2)+1 exceeds the number of characters in the device specified by (s1).
30H (0)31H (1)
32H (2)33H (3)
34H (4)35H (5)
00H
b15 b0 b7b8
(s1)
(s1)+1
(s1)+2
(s1)+3
"012345"
"ABCDEFGHIJK"
"A012345HIJK"
41H (A)42H (B)
43H (C)44H (D)
45H (E)46H (F)
47H (G)48H (H)
49H (I)4AH (J)
4BH (K)00H
b15 b0 b7b8
b15 b0 b7b8
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
41H (A)30H (0)
31H (1)32H (2)
33H (3)34H (4)
35H (5)48H (H)
49H (I)4AH (J)
4BH (K)00H
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(s2)
(s2)+1
2
-1
Number of characters counted from the left
of the string data specified by (s1)
Position counted from the left of the string
data specified by (d)
Before execution
After execution