EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Siemens SINUMERIK 808D ADVANCED
508 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 #367 background imageLoading...
Page #367 background image
Commissioning Manual
01/2017
367
Function name
Description
string.reversefind
The function searches the transferred string for the last 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.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
<funct
ion name="string.reversefind" return="index">
str1, _T"brown", 10 </function>
Result:
Index = 2
string.trimleft
The function trims the starting characters from a string.
Parameter:
str1
- string variable
Syntax:
<function name="string.trimleft" > str1 </function>
Example:
<let name="str1" type="string"> test trim
left</let>
<function name="string.trimleft" > str1 </function>
Result:
str1 = "test trim left"

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D ADVANCED and is the answer not in the manual?

Siemens SINUMERIK 808D ADVANCED Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED
CategoryControl Unit
LanguageEnglish

Related product manuals