function::substr.3stap

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

function::substr - Returns a substring.

SYNOPSIS

     substr:string(str:string,start:long,length:long)
 

ARGUMENTS

str

The string to take a substring from

start

Starting position. 0 = start of the string.

length

Length of string to return.

GENERAL SYNTAX

substr:string (str:string, start:long, stop:long)

DESCRIPTION

Returns the substring of the up to the given length starting at the given start position and ending at given stop position.