Originally posted by OwenAus
Not sure about that substring syntax. Think it should be:

MyStr.substring( beginPtr [,endPtr] )
Hi Owen,

as for substring being a method of the string class, your're right. But when using substring as a function, I've frequently seen the use of these 3 parameters.

Stephan