Substring Function

Next: , Previous: Strlen, Index: Index

This substring[s,n,x] function will return the string at the position between n and x of s.

Pass: A string and two integer
Returns: A string which is a subset of the string passed into it

Examples

var a:="hello";
var c:=substring[a,2,4];


Last Modified: August 2008