Previous Topic: %SubstituteNext Topic: %Switch()


%Substr()

Generates a substring of the expansion of the given <macro code>.

Syntax

%Substr(<macro code>,<initial pos>)

Syntax Example

%Substr(abcdefg,4)

Expansion

defg

Full Syntax

%Substr(<macro code>,<initial pos>,<length>)

Full Syntax Example

%Substr(abcdefg,4,3)

Expansion

def

Usage

Classified as a Miscellaneous macro.