variable filter - Forum

Forum Navigation
You need to log in to create posts and topics.

variable filter

Tengo estas variables:

SetVar [seleccionado] "-45.000012334234|0.123421423434"
.y quiero hacer un split en dos nuevas variables

SetVar [primeraparte] [seleccionado|splitLt:"|"]
SetVar [segundaparte] [seleccionado|splitRt:"|"]


Pero o no me compila cuando pongo esas instrucciones

 

@emmanuel-fernandez utiliza StrParse:

StrParse "[seleccionado]" "|" [miArray]

Después tendrás cada parte de la cadena en un elemento diferente del array: [miArray(0)] y [miArray(1)]

Saludos