Topic: DMD0163

Help File Version: 2.9.4.37

STRCLEAR - Clear Strings


The Clear Strings (STRCLEAR) instruction will remove the contents from the specified string or range of strings.

 

 


Parameters:

Note: Use the F9 key to open the Default Element Selection Tool (the Element Picker or the Element Browser) or use the Down-Arrow key (Auto-Complete) on any parameter field to see a complete list of the memory locations that are valid for that parameter of the instruction.

 

Start String - the first String in the range of strings to clear. This can be any writable String element.

 

Number of Strings to Clear - specifies how many successive strings to clear. This can be any positive constant from 1 to 65535, or any readable numeric location. If the specified range that exceeds the maximum number of Strings in the block of strings, the following Warning displayed: Count is out of range in STRCLEAR: Exceeds max block length.

 


Status Display:

 

The Status display will only show as many of the characters of the Start String as will fit within the borders of the instruction, typically this is about 50 characters.

 


See Also:

STR2REAL - Convert String to Real

 

STR2INT - Convert String to Integer

 

STRCASE - Convert String to UPPER / lower Case

 

STRCLEAR - Clear Strings

 

STRCMP - String Compare

 

STRCOPY - Copy String

 

STRCOPYR - Copy a Range of Strings

 

STRDELETE - Delete Substring

 

STRFIND - Find within String

 

STRINSERT - Insert Substring

 

STRPRINT - Print to String

 

STRSUB - Get Substring

 

STRTRIM - Trim Whitespace

 

STRTRUNC - Truncate String

 

 


Related Topics:

String Functions Overview
 

String Scripting Language Reference

 


Rung Example: