| http://www.w3.org/ns/prov#value | - Jun 2007, 22:46:45 +0900 schrieb Stefan Rusterholz: >> w wg wrote: >> > How to check if a string is a integer ? >> Also you can use a regex, e.g. str =~ /\A[+-]?\d+\z/ > In many cases it is useful to test for hex representations as > well.
|