News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















$ - globals.CONTAINS()

Returns true if a character expression is contained in another character expression.


VFP code example

? "b" $ "abc"                          && returns .T.
? "World" $ "Hello World"              && returns .T.
? "world" $ "Hello World"              && returns .F.


Servoy code example

var cSearchFor = "World";
var cString = "Hello World";
if(cString.IndexOf>-1) {
   return true;                             // returns true
   return false;

// alternatively:

globals.CONTAINS("World","Hello World!");   // returns true

Note: CONTAINS() 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 © 2010-2012 • All rights reserved • Contact: