Difference between revisions of "ReNamer:Rules:Delete"
Jump to navigation
Jump to search
m (minor fix) |
|||
Line 5: | Line 5: | ||
[[Image:DeleteRule.png]] | [[Image:DeleteRule.png]] | ||
− | <br> This rule will delete all characters located between the '''From''' and the '''Until ''' | + | <br> This rule will delete all characters located between the '''From''' and the '''Until ''' positions. Optionally, it can delete from the specified position till the end of the name. |
The parameters are as follows: | The parameters are as follows: | ||
Line 17: | Line 17: | ||
| Select either: | | Select either: | ||
*The position (count starts from 1) | *The position (count starts from 1) | ||
− | *The delimiter string | + | *The delimiter can be a single character or even a string. |
+ | ** Typically ''', . / ( ) -''' and space are used as delimiters. | ||
|- | |- | ||
Line 29: | Line 30: | ||
|- | |- | ||
| Right-to-left | | Right-to-left | ||
− | | | + | | If you select this option, ReNamer counts the position from the extreme right. (The '''From ''' and '''Until''' positions switch places.) |
− | *When this option is selected, the "till the end" option in '''Until''' deletes all characters on the left (what we regard as the ''beginning ''of the name) | + | *When this option is selected, the "till the end" option in '''Until''' deletes all characters on the left (what we regard as the ''beginning'' of the name) |
− | For example, to keep only the | + | For example, to keep only the four characters on the right side of the name (and delete all the rest of the characters on the left), use: |
{| | {| | ||
! From | ! From |
Revision as of 04:02, 14 August 2010
Delete Rule
This rule will delete all characters located between the From and the Until positions. Optionally, it can delete from the specified position till the end of the name.
The parameters are as follows:
Parameter | Details | ||||
---|---|---|---|---|---|
From | Select either:
| ||||
Until | Same as above. In addition, you have the till the end option.
| ||||
Skip extension | If this check box is unselected, the extension will be included in the rule. | ||||
Right-to-left | If you select this option, ReNamer counts the position from the extreme right. (The From and Until positions switch places.)
For example, to keep only the four characters on the right side of the name (and delete all the rest of the characters on the left), use:
| ||||
Do not remove delimiters | Will retain the delimiters
|