Hello
I am on a trial of your wonderful software. How do I replace a text string with the 3 first characters of the same text string (i.e.just keep first 3 characters) ? The text string can be of any length and will start with "$" and end with ".csv".
Thank you!
Carl
Keeping N characters in a text string
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Keeping N characters in a text string
Use an EasyPattern:
Find
Replace with
Find
Code: Select all
[ capture( 3 chars) as 'first', longest 1+ not cr or lf ]
Code: Select all
@first@my new string