strsubst
strsubst
strsubst(str, find, repl)
Cerca tutte le occorrenze della stringa <find> nella stringa <str> sostituendole con la stringa <repl>. Ritorna la nuova stringa. Case sensitive.
Esempio 1. Esempio strsubst
local s = strsubst("Valore: X", "X", "42")
print("\n" .. s) -- "Valore: 42"
Created with the Personal Edition of HelpNDoc: Enhance Your Documentation with HelpNDoc's Advanced Project Analyzer