546
edits
Line 127: | Line 127: | ||
The result will start with a slash if it started with a slash or backslash, it will end without slash. | The result will start with a slash if it started with a slash or backslash, it will end without slash. | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
string.normpath(); | string.normpath(path); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== string.replace(str,old,new) === | === string.replace(str,old,new) === | ||
Replace all occurrences of 'old' by 'new'. | Replace all occurrences of 'old' by 'new'. |
edits