EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #829 background imageLoading...
Page #829 background image
Function name Description
String delete The function deletes the defined number of characters starting from
the start position specified.
Parameter:
string - string variable
start index - start index (zero based)
nCount - number of characters to be deleted
Syntax:
<function name="string.delete"> string, start
index , nCount </function>
Example:
<let name="str1" type="string">A brown bear hunts.
</let>
<function name="string.delete" > str1, 2, 5</
function>
Result:
str1 = "A bear hunts"
String find The function searches the transferred string for the first match with the
substring.
If the substring is found, the function provides the index to the first
character (starting with zero) or, failing this, -1.
Parameter:
string - string variable
find string - string to be found
startindex – start index (optional)
Syntax:
<function name="string.find" return="<int val>">
str1, find string </function>
Example:
<let name="index">0</let>
<let name="str1" type="string">A brown bear hunts a
brown dog. </let>
<function name="string.find" return="index"> str1,
_T"brown" </function>
Result:
Index = 2
or
<function name="string.find" return="index"> str1,
_T"brown", 1 </function>
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 111

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals