Convert String Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > String commands > !STR.- String Command > Clip String Commands >

Convert String Operations

STR.Remove Bytes

Previous Top Next


MiniRobotLanguage (MRL)

 

STR.Remove Bytes

Remove a specific byte sequence from a string  

 

 

Intention

The STR.rbs command can be used to remove a sequence of bytes from a string.

The specialty from this command is that you can define the byte sequence as hexadecimal numbers.

 

 

Syntax

 

 

STR.Remove Bytes|P1|P2[|P3]

 

 

Parameter Explanation

 

P1 - (Source String) The main string from which to remove Bytes P2.

P2 - (Hex-String) The string containing the Bytes to be removed as Hexadezimal Numbers.

P3 - (Optional) Variable for the result. If omitted, the result is placed in P1.

 

 

Example

 

'***********************************

' STR.-Sample

'***********************************
VAS.$$UNI=Hallöchen Müßli

PRT.$$UNI|c

$$BYT=FC DF

STR.rbs|$$UNI|$$BYT|$$TAR

PRT.$$TAR|c

MBX.!

END.

 

clip0945

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: