Substring
Returns cantidad characters starting at inicio in the macro on which this function runs.
$(nombre_de_la_macro).Substring(inicio, cantidad)
Parameters
inicio
Starting position of the substring to return (the first character is at position 0).
cantidad
Number of characters to return.
Returns
The cantidad characters starting at inicio.
Example
For example, if $(CodigoCentroide) expands to 020400:
Use $(CodigoCentroide).Substring(1, 4) to obtain 2040.