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

Methods

Properties

Constants

Errors

Begins
Bin2Hex
Capitalize
Compare
Contains
ContainsWordBegin
ContainsWordEnd
ContainsWordExact
curl_decode
curl_encode
Decode
Encode
Ends
Escape
Find
Hex2Bin
Hilite
HTUUDecode
HTUUEncode
In
InsertSubString
IsANSIStandard
IsDate
IsEMail
IsNumeric
Log
LowToUpper
MD5
Pad
RemoveSubString
Substitute
SubString
ToArray
UpToLower
UrlDecode
UrlEncode
Zap
char[]
length
allTags
htmlTags
ErrBadIndex
ErrBadLength
ErrTooLongSeparator

Class

handle stream of characters

Description:

The string class describes arbitrary length text strings. A string is represented as a sequence of characters enclosed in single or double quotes (e.g. "this is a string"). The string that contains no characters is called the null string, and is represented by "" or ''.

Biferno strings length is only limited by available memory. Strings can contain also the null character

SeeAlso:

ansi

Note:

string methods that operate on the string return the new string (modified by the method) in the return value, leaving the original string untouched (there is no side effect)

Implementation:
C
 

Constructor
void string(obj str)

Creates a string object

Description:

Initializes a string object. Constructor is implicit if a stream of character is enclosed by " or '.

If a string enclosed in double quotes contains the double quote character ", the latter has to be escaped by using the \ character (backslash), as in the string "<a href=\"page.bfr\">". Escaping double quotes is not necessary if the string is enclosed in single quotes, e.g. '<a href="page.bfr">' is correct. Similarly, if a string enclosed in single quotes contains the single quote character ‘, the latter has to be escaped by using a backslash. Escaping single quotes is not necessary if the string is enclosed in double quotes.

The special characters tab, vertical tab, <CR> (carriage return) and <LF> (line feed) can be represented in a string as "\t", "\v", "\r", "\n". The “\” character itself must be escaped as “\\”.

It is possible to write a string on multiple lines by using a backslash as the last character of the line before the line break (the line break inserted by our text editor will not appear in the resulting string). The same string can be written as

'string \ 
one'

or

'string one'.

Parameters:
str

n.a.

Implementation:
C