AniDB O'Matic - Documentation: Local file renaming: Difference between revisions

Jump to navigation Jump to search
m
(set mepno bug)
Line 92: Line 92:
</pre>
</pre>
'''Current filename (removing the path)'''
'''Current filename (removing the path)'''
<pre>set(`path_filename`, PATH)
<pre>set('path_filename', PATH)
set(`path_parts`, 1)
set('path_parts', 1)
for (`i`, 1, length(path_filename), if(copy(path_filename, i, 1) = `\`, set(`path_parts`, path_parts+1)))
for('i', 1, length(path_filename), if(copy(path_filename, i, 1) = '\', set('path_parts', path_parts+1)))
set(`path_filename`, split(path_filename, `\`, path_parts))</pre>
set('path_filename', split(path_filename, '\', path_parts))</pre>
===Complex samples===
===Complex samples===
See [[AniDB O'Matic - Documentation: Local file renaming - Samples | the article with samples]]
See [[AniDB O'Matic - Documentation: Local file renaming - Samples | the article with samples]]
13

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.