Mid

Syntax

String:Mid(text, copy, return)

Description

Returns a portion of the source text depending on the parameters supplied.

Note

None.

Example

function main() {
  Var:String myStr = "Hello World";
 
  String:Mid(myStr, 4, 5, myStr)      //start at 4th character and get 5
  Konsol:Log(myStr) //see the log for "lo Wo"
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net