Brian Candler wrote in post #1055059:
> Try looking at character classes
>
> [[:print:]]
> [[:graph:]]
>
> and their negations
>
> [^[:print:]]
> [^[:graph:]]

I mean anyspecialchars like !@#$%^&*()_+,./:
I have one variable for example

message = "hello"
Here message contains only characters

message="@#$%^"
In this case i have only specialchars I want to check the case like 
these

-- 
Posted via http://www.ruby-forum.com/.