Copy
Return the portion of the string before or after the first or last occurrence of the indicated character or characters to match.
Selected Input Variable ($CP0) |
Free Format Command |
Result Variable ($CP1) |
01555364200
|
STRING:$CP1=copy($CPO)
|
01555364200
|
STRING:$CP1=copytofirst($CPO,1)
|
01
|
STRING:$CP1=copyfromfirst($CPO,5)
|
555364200
|
STRING:$CP1=copytolast($CPO,5)
|
01555
|
STRING:$CP1=copyfromlast($CPO,5)
|
5364200
|