EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1167 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
Loading...
Function name Description
String reverse find The function searches the transferred string for the last match with the
substring.
If the substring
is found, the function returns the index to the first char‐
acter (starting with zero) or, if not, -1.
Parameter:
string - string variable
find string - string to be found
startindex – start index (optional)
Syntax:
<function name="string.reversefind" 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.reversefind"
return="index"> str1, _T"brown" </function>
Result:
Index = 21
or
<function name="string.reversefind"
return="index"> str1, _T"brown" 10 </function>
Result:
Index = 2
Generating user dialogs
1.9 Predefined functions
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 119

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals