change_path_extension

change_path_extension(ext)

Make a new PathInfo changing the path extension.

If missing value is passed as a parameter, the path extension of the receiver will be deleted.

Parameters
Result

script object : a new instance of PathInfo