system.kanoa.utilities.formatPath(path, paramsDict)
Takes a string 'path' and replaces the splitKey with the delimiter. By default the splitKey is set to '\' and the delimiter is set to ' > '
Parameters
path String: i.e. 'Kanoa Industries\Adelaide Hills'
paramsDict Dictionary: Keys are not required. Can be an empty dictionary
| - delimiter | String | Character(s) to replace the splitKey with |
| - drop | String | i.e. 'Kanoa Industries'. |
| - locale | String | Can be used to translate the string path e.g. 'en US' |
| - splitKey | String | Character(s) to split the string path by. |
Returns
newPath String
Example
stringPath = 'Kanoa Industries\Adelaide Hills'
paramsDict = {}
print system.kanoa.utilities.formatPath(stringPath, paramsDict)
> Kanoa Industries > Adelaide Hills