This shows you the differences between two versions of the page.
es:replace [2016/01/01 22:43] |
es:replace [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Replace ===== | ||
+ | |||
+ | ==== Formato ==== | ||
+ | **replace** ( //pajar// , // | ||
+ | **replace** ( //pajar// , // | ||
+ | |||
+ | ==== Descripción ==== | ||
+ | Devuelve una nueva cadena donde todas las apariciones de // | ||
+ | |||
+ | ==== Ejemplo ==== | ||
+ | < | ||
+ | a$ = "We all live in a yellow submarine, yellow submarine, yellow submarine." | ||
+ | print Replace(a$," | ||
+ | print Replace(a$, " | ||
+ | mostrará: | ||
+ | < | ||
+ | We all live in a blue submarine, blue submarine, blue submarine. | ||
+ | Beatles all live in a yellow submarine, yellow submarine, yellow submarine. | ||
+ | </ | ||
+ | |||
+ | ==== Disponible desde la versión ==== | ||
+ | 0.9.6.55 | ||