String functions
Identifier Return value Parameter Explanation
1. 2. 3.
ISNUMBER BOOL STRING:
Input string
Checks whether the input string can be con‐
verted to a number.
NUMBER REAL STRING:
Input string
Converts the input string into a number.
TOUPPER STRING STRING:
Input string
Converts the input string into upper case
TOLOWER STRING STRING:
Input string
Converts the input string into lower case
STRLEN INT STRING:
Input string
Determines the length of the input string up to
the end of the string (/0)
INDEX INT STRING:
Input string
CHAR:
Search
characters
Determines the position of the character in the
input string from left to right.
The 1st character of the string from the left has
the index 0.
RINDEX INT STRING:
Input string
CHAR:
Search
characters
Determines the position of the character in the
input string from right to left.
The 1st character of the string from the right
has the index 0.
MINDEX INT STRING:
Input string
STRING:
Search
character
Determines the position of a character speci‐
fied in the 2nd parameter in the input string
from left to right.
The 1st character of the input string from the
left has the index 0.
SUBSTR STRING STRING:
Input string
INT INT Determines the substring of the input string,
defined by the start character (2nd parameter)
and number of characters (3rd parameter).
SPRINT STRING STRING:
Input string
Determines the formatted input string
Tables
4.6 Predefined functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1299