Extension setter
[io/file/Extension setter]
Sets the extension on the received path. Example:
"/home/user1/dir1/foo.txt"@0 received on
path
".json"@0 received on
extension
"/home/user1/dir1/foo.json"@0 sent on
path
Input ports
path:
string
Receives the path to set the extension on. Example: "/home/user1/dir1/foo.txt" (To keep the application portable use "/" as path separator.)
extension:
string
Receives the extension to set on
path
. Example: ".json"
Output ports
path:
string
Sends the resulting path. Example: "/home/user1/dir1/foo.json"
Last updated