Function CONTRACTPATH
Does the opposite of the function expandPath(), tries to match given absolute path, to the mappings in the enviroment, when no mapping match, railo creates a relatie path from the current position,
Example
contractpath(string path,[boolean placeholder]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
path | string | Yes | a absolute path |
placeholder | boolean | No | If true (default false), Railo also tries to create a placeholder for the begining of the Tag |