PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 25 → DICAS 2115 - WINDEV WEBDEV MOBILE - STRING 51 - StringSplit
DICAS 2115 - WINDEV WEBDEV MOBILE - STRING 51 - StringSplit
Débuté par amarildo, 19 mai 2019 14:50 - Aucune réponse
Membre enregistré
535 messages
Popularité : +14 (14 votes)
Posté le 19 mai 2019 - 14:50
BOM DIA,SEJA BEM VINDOS A MAIS UMA VIDEO AULA. ESSA AULA ESTA SENDO GRAVADA NO DIA 19 05 2019. DICA 2115.
VOU MOSTRAR COMO EXTRAIR DADOS STRING COM SEPARADOR.

DICAS 2115 - WINDEV WEBDEV MOBILE - STRING 51 - StringSplit

// btn_stringsplit

sESTADOS_BRASIL is string=""
sESTADOS_BRASIL="AC|AL|AM|AP|BA|CE|ES|EX|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO"
arrARRAY_ESTADOS_BRASIL is array of strings
arrARRAY_ESTADOS_BRASIL=StringSplit(sESTADOS_BRASIL,"|")
TableDeleteAll(TABLE_ESTADOS)
nQUANTIDADE_TOTAL is int=ArrayCount(arrARRAY_ESTADOS_BRASIL)
FOR NPOSICAO = 1 TO nQUANTIDADE_TOTAL
TableAddLine(TABLE_ESTADOS,arrARRAY_ESTADOS_BRASIL[NPOSICAO])
END


ErpMatos - TgsSistemas
email: amarildo.matos@gmail.com
whats: 51984197742
Youtube: Amarildo Matos
http://www.amarildomatos.com.br

www.windev.com
https://www.pcsoft.fr/webinaires.htm…
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/page/1.awp
https://www.windev.com/windev/WD-Express.htm
https://www.windev.com/windevmobile/WM-Express.htm
https://groups.google.com/forum/…
http://windevdesenvolvimento.blogspot.com.br/2017/07/menu-blog.html

https://doc.windev.com/en-US/…