rialto.string
| Name space |
rialto.string |
| FILE |
rialtoEngine\javascript\core\baseRialto.js |
| NAME |
rialto.string |
| INHERITS |
|
| VERSION |
0.86 |
| update |
|
| DESCRIPTION |
methods to manipulate string |
CONSTRUCTOR
Example:
this is an abstract object and all the method must be call using the rialto.string prefix
PUBLIC METHODS
| Method |
Arguments list |
Return value |
Inherits |
To redefine |
|
formatHTTP
|
String stPar |
String |
no |
no |
|
replace
|
String stPar,String stFind,String stNew |
String |
no |
no |
|
trim
|
String stPar |
String |
no |
no |
formatHTTP
encode the given string in a url format
Parameters:
String stPar:string to encode
replace
replace stFind by stNew in stPar
Parameters:
String stPar:string to encode
String stFind:substring to find
String stNew:new substring
trim
remove whitespace from the given sting
Parameters:
String stPar:string to manipulate