Substring

From Mesham

Jump to: navigation, search

Overview

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

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

Example

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