MidStr

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

MidStr


 

Extracts the middle part of a string.

 


Syntax 1

MidStr(

         str,

         pos

         )

 


Parameters

 

str

 

Type:

character

 

character.

 

pos

 

Type:

Number

 

The zero-based position of the string to extract.

 

Return Value

 

 

Type:

character

 

The extracted characters.

 


hmtoggle_plus1Explanation

 


Syntax 2

MidStr(

         Str,

         Pos

         Num

         )

 


Parameters

 

Str

 

Type:

character

 

character.

 

Pos

 

Type:

Number

 

The zero-based position of the string to extract.

 

Num

 

Type:

Number

 

The number of characters to extract.

 

Return value



Type:

character


The extracted characters.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference