1 (edited by Stefan 2007-06-03 15:33:07)

Topic: I want to delete from letter 8 until the end

I want to delete from letter 8 until the end.
I need the first seven letters only.


EXAMPLE:
Test001 - start.txt
Test002 - without reboot.txt
Test003 - first run.txt

EXPRESSION: %b(1,7).%e

RESULT:
Test001.txt
Test002.txt
Test003.txt

EXPLANATION:

%b          the hole base file name                                      [Test001 - start]
%b(1,7)   but from the start '1'  the next 7 letters only        [Test001]
.              the dot between file name and extension             [Test001.]
%e          the extension                                                    [Test001.txt]




by the way
the expression %b(7) 
would skip the first six characters
and give you the name from the 7-th character till the end.



Press the F1-key while you are in Siren to read more about.
Enjoy Siren,  No installation needed, unzip and run. Siren stores it settings into an ini file and not into the Registry.
------------------------------------------------------------------------------------------------------------

                                             Siren is a freeware file renaming program
                                               - portable, highly flexible, powerfully -
                                          If it's looking tricky it's easy to rename with Siren.
                                          http://www.scarabee-software.net/en/siren.html