Re: LetterQ and DigitQ question
- To: mathgroup at smc.vnet.net
- Subject: [mg35994] Re: LetterQ and DigitQ question
- From: Mark Westwood <MarkCWestwood at compuserve.com>
- Date: Sun, 11 Aug 2002 05:13:56 -0400 (EDT)
- References: <aj17o2$2o6$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Charles
Does
Apply[And, Map[DigitQ, list]]
do what you want ?
Regards
Mark Westwood
"Charles H. Dresser" wrote:
>
> Hello,
> I have a problem with DigitQ and letterQ I would like for a string to
> yeild True when run with DigitQ if the the string looks like this:
> {1,2}
> and false if it looks like this:
> {hello, there!!!}
> Right now both strings return False because of "{ , }". So, if there
> were anyway to include the charecters "{", "}", and "," into the
> DigitQ "0-9" list temperarelly that would work, but I am sure there is
> a better way to do that. Thank You,
> Charles