27 people like it.
Like the snippet!
Concatenating paths shouldn't be done just using string concatenation, because the directory separator may differ on various platforms. This snippet shows a simple custom operator for working with paths.
1: 2: 3: 4: 5: 6: 7: 8: 9: |
|
| Link: | http://fssnip.net/1g |
| Posted: | 14 years ago |
| Author: | Tomas Petricek |
| Tags: | path , custom operator |