Siemens SINUMERIK 840D sl Commissioning Manual page 745

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

REPLACE Function: Replacing characters
Syntax:
Description:
Parameters:
Return value:
See also
Use of strings (Page 66)
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
( string, FindString, ReplaceString [, start [, count ] ] )
REPLACE
The REPLACE function replaces a character/string in a string with another
character/string.
string
String in which FindString is to be replaced with
ReplaceString.
FindString
String to be replaced
ReplaceString
Replacement string (is used instead of the FindString)
start
Starting position for search and replace operations
count
Number of characters that are to be searched from the
starting position after the FindString.
string = Blank string
FindString = Blank string
ReplaceString = Blank string
start > Len(String)
count = 0
Programming commands
Copy of string
Copy of string
Copy of string, in which all occurrences of
FindString are deleted
Blank string
Copy of string
6.3 Functions
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents