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

M0E Lnx m0e.lnx at ...626...
Thu Jun 5 22:22:42 CEST 2008


Kool.... Thanks


On Thu, Jun 5, 2008 at 2:36 PM, Rob <sourceforge-raindog2 at ...94...> wrote:
> 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
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list