API File.RelPath

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png RelPath
Gets an relative path from an absolute filename 
Fc9-string-icon.png - STRING Filename
The absolute file path 
Fc9-string-icon.png - STRING Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::File.RelPath("filename")