Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

string

Method:

SubString

string SubString(int from, int len)

Returns a substring of any length of the given string

Description:

The SubString method returns a substring of any length of the given string, starting from a given character index.

Parameters:
from

SubString method extracts len characters starting from the position indicated by the from parameter.

len

The number of characters to extract. If omitted, all characters until the end of the string are extracted.

Notes:

Example:

str = "This is a text"
$str.SubString(1, 4) // prints "This"
$str.SubString(6) // prints "is a text"
$str.SubString(6, 2) // prints "is"

Errors:

ErrBadIndex, ErrBadLength

See also:

ansi.strch, ansi.strrch

Implementation:
C
 

Return to the string class