Summary of Built-in Functions
Function |
Description |
Returns the contents of a file. |
|
Returns an escaped or safe version of the input string. |
|
Checks to see if a file exists on the filesystem. |
|
Returns the first line of the file. |
|
Create a directory on the filesystem. |
|
Removes a file from the filesystem. |
|
Removes a directory from the filesystem. |
|
Returns the size of a file. |
|
Return the last line of a file or the last number(n) of lines of a file. |
|
Create a file if it does not already exist. |
Miscellaneous Functions
Function |
Description |
Examine configuration items. |
|
Get the length of data. |
|
Functions to execute. regular expression search on string, using pattern. |
|
Call a virtual module |
|
Generate random integers. |
Pair Manipulation
Function |
Description |
Print attributes to the debug output. |
|
Mark attributes as immutable (cannot be changed). |
|
Print attribute name and value to string. |
| Function | Description |
|---|---|
Switch callgrind instrumentation on. |
|
Switch callgrind instrumentation off. |
|
Write a callgrind profile dump, then zero the costs. |
|
Zero the callgrind costs without writing a dump. |
|
Start the gperftools CPU profiler, writing samples to a file. |
|
Write buffered gperftools samples, then stop the profiler. |
|
Write buffered gperftools samples and keep the profiler running. |
String Manipulation
| Function | Description |
|---|---|
Concatenate strings with delimiters. |
|
Split a string based on delimiters. |
|
Returns the size of the data. |
|
Left pad a string. |
|
Right pad a string. |
|
Return a random string .based on input format |
|
Convert the input string. to lowercase. |
|
Convert the input string. to uppercase |