Contents:
Introduction
News blog
What is Servoy?
Getting Started
Comparison Servoy/VFP
Performance
How-To's
Code Reference
VFP2Servoy Toolkit
Contact / feedback
|
RAT() - string.lastIndexOf()
Returns the numeric position of the last (rightmost) occurrence of a character string within another character string. In Servoy the string starts at position 0!
VFP code example
? RAT("o", "Hello World")
&& returns 8
|
Servoy code example
var cString =
"Hello World";
application.output(cString.lastIndexOf("o"))
// outputs 7 !!
|
|
|
External resources:
vfp plugin
ServoyWorld 2012 pics
Official Servoy website
Ken Levy on Servoy
Servoy info
Servoy Forum
Servoy Documentation
|