Charat

From Mesham
Revision as of 22:32, 10 January 2010 by Polas (talk | contribs) (Created page with '== Overview == This charat[s,n] function will return the character at position ''n'' of the string ''s''. * '''Pass:''' A string and integer * '''Returns:''' A character == Ex…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This charat[s,n] function will return the character at position n of the string s.

  • Pass: A string and integer
  • Returns: A character

Example

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