articles/dicorebol-fr/any-stringq.txt · Dernière modification: 07/05/2005 00:19

EN: rebol.com - rebol.org - rebol.net -
FR: Rebol Documentation Project - forum RebelBB - rebol-france.org - forum codeur -

 

Any-string? - Détail de la fonction

En résumé :

Retourne TRUE pour n’importe quelle valeur string.

Utilisation :

any-string? value

Arguments :

value - L’argument de la valeur. (type: any-type)

Description :

Retourne FALSE pour toutes les autres valeurs.

    if any-string? "Hello" [print "a string"]
    a string
 
 
 
    probe any-string? email@rebol.com
    true
 
 
 
    probe any-string? ftp://ftp.rebol.com
    true
 
 
 
    probe any-string? %/path/to/file.txt
    true
 
 
 
    probe any-string? 11-Jan-2000
    false

Fonctions en relation :

any-block? - Retourne TRUE pour n’importe quelle valeur bloc.

any-function? - Retourne TRUE pour n’importe quelle valeur fonction.

any-type? - Retourne TRUE pour n’importe quelle valeur type.

email? - Retourne TRUE pour une valeur email.

file? - Retourne TRUE pour une valeur fichier.

string? - Retourne TRUE pour une valeur string.

url? - Retourne TRUE pour une valeur URL.

Version anglaise officielle :

 
  articles/dicorebol-fr/any-stringq.txt · Dernière modification: 07/05/2005 00:19
 
Fil RSS: Recent changes RSS feed
Valid XHTML 1.0 Valid CSS Powered by PHP Driven by DokuWiki
Hébergement par Spinodo