REBOL Document

Any-string? - Function Summary


Summary:

Returns TRUE for any-string values.

Usage:

any-string? value

Arguments:

value - The value argument. (must be: any-type)

Description:

Returns FALSE for all other values.


    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

Related:

any-block? - Returns TRUE for any-block values.
any-function? - Returns TRUE for any-function values.
any-type? - Returns TRUE for any-type values.
email? - Returns TRUE for email values.
file? - Returns TRUE for file values.
string? - Returns TRUE for string values.
url? - Returns TRUE for url values.


<Back | Index | Next>

Copyright 2004 REBOL Technologies