[Gambas-user] Detecting Capital letters or digits in a string

Rob sourceforge-raindog2 at ...94...
Thu Jun 5 21:36:01 CEST 2008


On Thursday 05 June 2008 15:20, M0E Lnx wrote:
> IS there a way to detect capital letters in s string?

I think so.

IF mystring LIKE "*[A-Z]*" THEN
	' it has at least one capital letter
ELSE
	' it doesn't
END IF

http://www.gambasdoc.org/help/lang/like

Rob




More information about the User mailing list