displaying part of a string
Blitz3D Forums/Blitz3D Beginners Area/displaying part of a string
| ||
I'm loading a model, and displaying the model's file name like so: C:\program files\props\trees\tree.b3d If I want to display only: \props\trees\tree.b3d how would I do that? |
| ||
found the solution. please wipe this tread. http://www.blitzbasic.com/codearcs/codearcs.php?code=648 |
| ||
There is another code in the archives, that shows how to get the relative path. It needs 2 paths and converts the second one to be relative to the first one. http://www.blitzbasic.com/codearcs/codearcs.php?code=1187 |