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
Last revisionBoth sides next revision
syntax:functions:combinepath [2021/08/29 17:15] craigtsyntax:functions:combinepath [2021/09/08 14:26] – [Arguments] dmitry
Line 14: Line 14:
 =====Arguments===== =====Arguments=====
 ^Argument^Type^Description^ ^Argument^Type^Description^
-|path1|Text  |A file path.| +|path1|Text  |A file path. Absolute or relative. | 
-|path2|Text  |A file path, with or without a file name.|+|path2|Text  |A relative file 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