Macro Scheduler 15

MidStr

MidStr>string,start,length,result

 

Returns a substring of specified length from a given position in a string.  result is a variable in which to store the returned string.  Any parameter can be a variable containing the appropriate values.

 

Abbreviation : Mid

See also: Position, ConCat, Length

 

Example

 

In the following example, the variable somevalue becomes equal to 'Happy' :

 

MidStr>Happy Birthday,1,5,somevalue

Message>somevalue