function::stringat.3stap

Langue: en

Version: September 2010 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

function::stringat - Returns the char at a given position in the string.

SYNOPSIS

     stringat:long(str:string,pos:long)
 

ARGUMENTS

str

The string to fetch the character from.

pos

The position to get the character from. 0 = start of the string.

GENERAL SYNTAX

stringat:long(srt:string, pos:long)

DESCRIPTION

This function returns the character at a given position in the string or zero if thestring doesn't have as many characters.