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 #354 background imageLoading...
Page #354 background image
Commissioning Manual
354 6FC5397-4EP10-0BA8, 07/2018
Function name
Description
string.length
The function gives the number of characters in a string.
Parameter:
str1
- string
Syntax:
<function name="string.length" return="<int var>">
str1 </function>
Example:
<let name="length">0</let>
<let name="str1" type="string">
A brown bear hunts a
brown dog.</let>
<function name="string.length" return="length">
str1 </function>
Result:
length = 31
string.replace
The function replaces all the substrings found with the new string.
Parameter:
string
- string variable
find string
- string to be replaced
new string
- new string
Syntax:
<function name="string.replace"> string, find
string, new string </function>
Example:
<let name="str1" type="string">A brown bear hunts a
brown dog. </let>
<function name="string.replace" > str1, _T"a brown
dog" , _T"a big salmon"</function>
Result:
str1 = "A brown bear hunts a big salmon!"

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