.. StrAt

.. default - domain::js

.. include:: /includes/standard.rst

==============
StrAt (Kernel)
==============


.. function:: StrAt(aString index [replacement])

	StrAt has two functions. It can be used to retreive the char at the specified index in aString,
	or it can be used to set the character to replacement at the specified index in aString. It returns the character at aString[index].

	:param string aString: The text string.
	:param number index: The index into the text string.
	:param number replacement: The optional character place at that index.
	:returns: The character at the index specified.


