Difference between revisions of "ReNamer:Rules:Delete"

From den4b Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Go|up=ReNamer:Rules|prev=ReNamer:Rules:Insert|next=ReNamer:Rules:Remove}}
 
{{Go|up=ReNamer:Rules|prev=ReNamer:Rules:Insert|next=ReNamer:Rules:Remove}}
  
== Delete Rule ==
+
== Delete Rule ==
  
[[Image:DeleteRule.png]]  
+
<center>[[Image:DeleteRule.png]]</center>
  
<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.  
+
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:  
  
{| class="prettytable"
+
{| class="wikitable"
 
|-
 
|-
 
! Parameter  
 
! Parameter  
Line 47: Line 47:
  
 
|}
 
|}
 +
 +
[[Category:ReNamer]]

Revision as of 14:42, 21 September 2010

Delete Rule

DeleteRule.png

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:
  • The position (count starts from 1)
  • The delimiter can be a single character or even a string.
    • Typically , . / ( ) - and space are used as delimiters.
Until Same as above. In addition, you have the till the end option.
  • You can use two different delimiters in From and Until sections.
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.)
  • 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 four characters on the right side of the name (and delete all the rest of the characters on the left), use:

From Until
Position 5 Till the end
Do not remove delimiters Will retain the delimiters
  • If you have used two different delimiters in From and Until sections, both of them will be retained.