User Tools

Site Tools


syntax:functions:combinepath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:functions:combinepath [2021/08/29 17:15] craigtsyntax:functions:combinepath [2021/09/08 14:34] (current) – [Arguments] dmitry
Line 14: Line 14:
 =====Arguments===== =====Arguments=====
 ^Argument^Type^Description^ ^Argument^Type^Description^
-|path1|Text  |A file path.| +|path1|Text  |A folder path. Absolute or relative. | 
-|path2|Text  |A file path, with or without a file name.|+|path2|Text  |A relative file or folder path. |
  
 **Return value type:** Text. **Return value type:** Text.
Line 26: Line 26:
 =====Examples===== =====Examples=====
  
-  combinepath( 'C:\data""file.txt' )  //Returns 'C:\data\file.txt'+  combinepath( 'C:\data''file.txt' )  //Returns 'C:\data\file.txt'
  
-  combinepath( 'C:\data""..\file.txt' )  //Returns 'C:\file.txt'+  combinepath( 'C:\data''..\file.txt' )  //Returns 'C:\file.txt'
  
-  combinepath( 'C:\myfiles""mydocs\myprojects' )  //Returns 'C:\myfiles\mydocs\myprojects'+  combinepath( 'C:\myfiles''mydocs\myprojects' )  //Returns 'C:\myfiles\mydocs\myprojects'
  
  
syntax/functions/combinepath.txt · Last modified: 2021/09/08 14:34 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki