EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Series User Manual

Siemens SINUMERIK 808D ADVANCED Series
480 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 #353 background imageLoading...
Page #353 background image
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
353
Function name
Description
string.right
The function extracts the last nCount character from string 1 and
copies this to the return variable.
Parameter:
str1
- string
nCount
- number of characters
Syntax:
<function name="string.right" return="<result
string>"> str1, nCount </function>
Example:
<let name="str1" type="string">A brown bear hunts a
brown dog.</let>
<let name="str2" type="string"></let
<function name="string.right " return="str2"> str1,
10 </function>
Result:
str2="brown dog."
string.middle
The function extracts the specified number of characters from string
1, starting from the iFirst index, and copies these to the return varia-
ble.
Parameter:
str1
- string
iFirst
- start index
nCount
- number of characters
Syntax:
<function name="string.middle" return="<result
string>"> str1, iFirst, nCount </function>
Example:
<let name="str1" type="string">A brown bear hunts a
brown dog.</let>
<let name="str2" type="string"></let
<function name="string.middle " return="str2">
str1, 2, 5 </function>
Result:
str2="brown"

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 808D ADVANCED Series Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED Series
CategoryControl Unit
LanguageEnglish

Related product manuals