EasyManuals Logo

Siemens MCP 398C Commissioning Manual

Siemens MCP 398C
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 #827 background imageLoading...
Page #827 background image
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
Strings to 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!"
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 109

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals