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:

Pad

string Pad(int totChars, char padChar, boolean before)

Pads string with characters

Description:

The Pad method is used to add a certain number of repetitions of a given character in front or at the end of a string, until a predefined length is reached. An example is:

str = "123"
str = str.Pad(8, "0", true) // str is "00000123"
str = "123"
str = str.Pad(6, "*") // str is "123***"

Parameters:
totChars

the total number of characters of the final string

padChar

the character to add for string padding

before

if true, the padding chars are added in front of the string, otherwise they are added at the end of the string

Returns:

The new string padded

Implementation:
C
 

Return to the string class