MivaLearn
3/6/2019 - 10:42 PM

Sub String

<mvt:comment>
// Miva Script Function
substring( string, position, length )

// Parameters
string: 
    the target string
position: 
    beginning at position start
length: 
    length characters long
</mvt:comment>

// Miva Template Language Example<br>
<mvt:assign name="l.settings:string" value="'Welcome to MivaLearn'" />
<mvt:eval expr="substring(l.settings:string, 11, len(l.settings:string)" />