Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    controllo alfanumerici su stringa

    ciao
    ho una stringa e dovrei controllare che ci siano almeno un carattere alfanumerico e almeno un carattere non alfanumerico
    come posso eseguire questo controllo?

    Grazie
    Mr. Fepreto Nirra
    (I've been the wild rover for many of years - Spent all my money on whiskey and beer)
    E' PROPRIO UN BEL LOCALINO, BOB!
    ... ma non è il bicchiere giusto ...

  2. #2
    usando le regular expression..
    IP-PBX management: http://www.easypbx.it

    Old account: 2126 messages
    Oldest account: 3559 messages

  3. #3
    ho fatto al regular expression, ho dato il pattern, e la stringa di entrata e impostato il global su true
    come faccio a sapere se dentro c'erano i valori del pattern e quante volte?
    Mr. Fepreto Nirra
    (I've been the wild rover for many of years - Spent all my money on whiskey and beer)
    E' PROPRIO UN BEL LOCALINO, BOB!
    ... ma non è il bicchiere giusto ...

  4. #4
    Premetto che mi da un pò a noia che mi si scriva in privato per "sollecitarmi" a rispondere al thread, trovo anche un pò "infantile" non mettersi un attimo su google a cercare la soluzione del problema. Nella fattispecie, già solo digitando "asp regular expression" il PRIMO risultato risponde a tutti o quasi i tuoi problemi:

    http://www.aspcode.it/articoli/artic...how_art&idx=28

    questa è la prima parte, leggiti la seconda e la terza


    IP-PBX management: http://www.easypbx.it

    Old account: 2126 messages
    Oldest account: 3559 messages

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.