Ho una stringa:
"nome 1@nome 2"
Esiste una funzione in VBSCRIPT che mi permette di estrarre "nome 1" e "nome 2", cioè le sottostringhe separate dal carattere "@" ???
Grazie.
Vincenzo
Ho una stringa:
"nome 1@nome 2"
Esiste una funzione in VBSCRIPT che mi permette di estrarre "nome 1" e "nome 2", cioè le sottostringhe separate dal carattere "@" ???
Grazie.
Vincenzo
codice:str = "nome1@nome2" if instr(str, "@") then arr_str = split(str, "@") str1 = arr_str(0) str2 = arr_str(1) end if
Roby
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!