L
Luca Scaljery
Hi All
I just tried to test the content of a string, something like this:
c = "1234AA"
if c.scan( /1234567890/ )
p "OK"
else
p "NO"
end
This always returns "OK"![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Any suggestions what goes wrong here. And is this the way to check the
content of a string ?
Thanks a lot
LuCa
I just tried to test the content of a string, something like this:
c = "1234AA"
if c.scan( /1234567890/ )
p "OK"
else
p "NO"
end
This always returns "OK"
Any suggestions what goes wrong here. And is this the way to check the
content of a string ?
Thanks a lot
LuCa