User Tools

Site Tools


howto:customize_abbreviations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howto:customize_abbreviations [2014/02/16 23:25]
lupo73 [How to customize abbreviations]
howto:customize_abbreviations [2017/04/29 20:20]
lupo73 [Supported Modifiers]
Line 6: Line 6:
  
 Some destination examples for Rename action using modifiers:​\\ Some destination examples for Rename action using modifiers:​\\
-(Destination => Original => Result)\\+(Destination => Original ​Filename ​=> Result ​Filename)\\
 ''<​nowiki>​%FileName#>​3,​4%.%FileExt%</​nowiki>''​ => Readme.txt => adme.txt\\ ''<​nowiki>​%FileName#>​3,​4%.%FileExt%</​nowiki>''​ => Readme.txt => adme.txt\\
 ''<​nowiki>​%FileName#​s>​(me)%.%FileExt%</​nowiki>''​ => Readme Example.doc => me Example.doc\\ ''<​nowiki>​%FileName#​s>​(me)%.%FileExt%</​nowiki>''​ => Readme Example.doc => me Example.doc\\
Line 23: Line 23:
 ''​-''​ => Lowercase the first character of the string.\\ ''​-''​ => Lowercase the first character of the string.\\
 ''<​nowiki>​--</​nowiki>''​ => Lowercase all characters except the first character of each word in the string.\\ ''<​nowiki>​--</​nowiki>''​ => Lowercase all characters except the first character of each word in the string.\\
-''<​nowiki>​---</​nowiki>''​ => Lowercase all characters in the string.+''<​nowiki>​---</​nowiki>''​ => Lowercase all characters in the string.\\ 
 +''<​nowiki>??</​nowiki>''​ => Alternate upper and lower characters.\\ 
 +''<​nowiki>?​ ?</​nowiki>''​ => Alternate upper and lower characters, but leave space neutral.
  
 **String modifiers:​**\\ **String modifiers:​**\\
-''>​d1,​d2''​ => Take a string from position d1 (included) counting d2 characters (left to right).\\ +''>​d1,​d2''​ => Take a string from position ​//d1// (included) counting ​//d2// characters (left to right).\\ 
-''<​d1,​d2''​ => Take a string from position d1 (included) counting d2 characters (right to left).\\ +''<​d1,​d2''​ => Take a string from position ​//d1// (included) counting ​//d2// characters (right to left).\\ 
-''​-d1,​d2''​ => Take a string between d1 and d2 positions.\\ +''​-d1,​d2''​ => Take a string between ​//d1// and //d2// positions.\\ 
-''​s>​(s1)''​ => Take a string from the substring s1 (included) until the end.\\ +''​s>​(s1)''​ => Take a string from the substring ​//s1// (included) until the end.\\ 
-''​s>​-(s1)''​ => Take a string from the substring s1 (excluded) until the end.\\ +''​s>​-(s1)''​ => Take a string from the substring ​//s1// (excluded) until the end.\\ 
-''​s<​(s1)''​ => Take a string from the substring s1 (included) until the beginning.\\ +''​s<​(s1)''​ => Take a string from the substring ​//s1// (included) until the beginning.\\ 
-''<​nowiki>​s<​-(s1)</​nowiki>''​ => Take a string from the substring s1 (excluded) until the beginning.\\ +''<​nowiki>​s<​-(s1)</​nowiki>''​ => Take a string from the substring ​//s1// (excluded) until the beginning.\\ 
-''​s-(s1,​s2)''​ => Take a string between string s1 and s2 (included).\\ +''​s-(s1,​s2)''​ => Take a string between string ​//s1// and //s2// (included).\\ 
-''<​nowiki>​s--(s1,​s2)</​nowiki>''​ => Take a string between string s1 and s2 (excluded).\\ +''<​nowiki>​s--(s1,​s2)</​nowiki>''​ => Take a string between string ​//s1// and //s2// (excluded).\\ 
-''​c>​d''​ => Cut d characters from the left of the string and take the rest.\\ +''​r(s1,​s2)''​ =Rename all occurrences of the string //s1// with string //s2//.\\ 
-''​c<d''​ => Cut d characters from the right of the string and take the rest.\\ +''​regex(p1,​r1)''​ => Replace regex pattern //p1// with regex replacement pattern //r1//.\\ 
-''​r(s1,s2)''​ => Rename all occurrences ​of the string s1 with string s2.\\ +''​d(s1)''​ => Delete all occurrences of the string //s1//.\\ 
-''​d(s1)''​ => Delete ​all occurrences ​of the string s1.+''​d>​d1''​ => Delete //​d1// ​characters from the left of the string and take the rest.\\ 
 +''​d<d1''​ => Delete //​d1// ​characters from the right of the string and take the rest.\\ 
 +''​k(s1)''​ => Keep only the group of characters ​of the string ​//s1//.\\ 
 +''​k-(s1)''​ => Delete ​only the group of characters ​of the string ​//s1//.\\ 
 +''​a>​(s1,​d1)''​ => Add a string //s1// in position //d1// from the beginning.\\ 
 +''​a<​(s1,​d1)''​ => Add a string //s1// in position //d1// from the end.\\ 
 +''​lz(d1)''​ => Add leading zeros up to //d1// length of the string.\\
  
 **Cryptography modifiers:​** *\\ **Cryptography modifiers:​** *\\
howto/customize_abbreviations.txt · Last modified: 2022/03/19 08:36 by robertu