https://youtu.be/B9tZPrVs2aY https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2064-windev-arquivos-31-arquivo.html sTexto is string=[ 1|COURO|PR 2|CAMISA|UN 3|TENIS|PAR ] FOR EACH STRING sLINHA OF sTexto SEPARATED BY CR sCODIGO is string=ExtractString(sLINHA,1,"|") NOME is string=ExtractString(sLINHA,2,"|") UNIDADE is string=ExtractString(sLINHA,3,"|") Trace("codigo="+sCODIGO+" nome="+NOME+" unidade="+UNIDADE) END
|