Contents:

 

 

Introduction


News blog


What is Servoy?


Getting Started


Comparison Servoy/VFP


Performance


How-To's

 

Code Reference

 

VFP2Servoy Toolkit

 

 

Contact / feedback

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ISDIGIT() - globals.ISDIGIT()



ISDIGIT() returns true if the leftmost character in the specified character expression is an alphabetic character; otherwise ISDIGIT() returns false.

 

VFP code example


? ISDIGIT('Abc')          && returns .F.
? ISDIGIT('Äbc')          && returns .F.
? ISDIGIT('9')            && returns .T.
? ISDIGIT('9ab')          && returns .T.
? ISDIGIT('Ab89')         && returns .F.
? ISDIGIT('_bcdef')       && returns .F.

 

Servoy code example


cString = "9ab";
cString.charAt(0).match(/[^W0-9_]/)!=null;

// alternatively

globals.ISDIGIT("9ab");   // Returns true


Note: ISDIGIT() is a function of the VFP2Servoy Toolkit

 

 

External resources:

 

vfp plugin

 

ServoyWorld 2012 pics

 

Official Servoy website

 

Ken Levy on Servoy

 

Servoy info

 

Servoy Forum

 

Servoy Documentation

 

VisualFoxpro.com © 2010-2012 • All rights reserved • Contact: info@visualfoxpro.com