24/7 Support: 800.608.6482

substring_var

MvDo Function, MVT, Miva 9+, Engine v5.22+

Tag / Description

substring_var( string var, position, length )

<mvt:assign name="g.return_value" value="substring_var( string var, position, length )" />

Returns the substring of string, beginning at position start, length characters long. This function is identical to substring() but its first parameter is passed by reference, improving performance when dealing with large strings.

Parameters

Return Values

Examples

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.