Text String Processing Instructions
Instruction
Symbol/Operand
Mnemonic
Code
FIND IN STRING
FIND$(660)
FIND
@FIND$
660
S1: Source text
string first word
S2: Found text
string first word
D: First
destination word
STRING LENGTH
LEN$(650)
LEN$
@LEN$
650
S: Text string first
word
D: 1st destination
word
REPLACE IN
STRING
RPLC$(654)
RPLC$
@RPLC$
661
S1: Text string
first word
S2: Replacement
text string first
word
S3: Number of
characters
S4: Beginning
position
D: First
destination word
DELETE STRING
DEL$(658)
DEL$
@DEL$
658
S1: Text string
first word
S2: Number of
characters
S3: Beginning
position
D: First
destination word
158
Finds a designated text string from within a text string.
S1
→
S2
D
Calculates the length of a text string.
→
1
S
3
D
5
Replaces a text string with a designated text string from a designated
position.
S1
S2
→
S3
S4
D
Deletes a designated text string from the middle of a text string.
S1
→
S2
S3
G
D
Function
Found data
→
2
4
Number of characters to be
deleted (designated by S2).
Section 3-31
Location
Execution condition
Output
Required
→
Output
Required
Output
Required
→
Output
Required
→
Need help?
Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?
Questions and answers