Hi there Tuk,
I usually just find a delimiter (in your case a comma) and replace them with a newline regexp (\n).
See in the video I’ve quickly put together: https://v.usetapes.com/ZFDCAjpx2i https://v.usetapes.com/ZFDCAjpx2i
There may be quicker methods (that I’m unaware of) but this is admittedly far faster than having to manually go through each line.
— Attila
ATTILA GYÖRFFY I develop software.
attilagyorffy.com http://attilagyorffy.com/ | @attilagyorffy http://www.twitter.com/attilagyorffy | | in/attilagyorffy http://linkedin.com/in/attilagyorffy | github.com/attilagyorffy http://www.github.com/attilagyorffy
Every time you print an email, a tree is marked for death. Trees provide O2. You need that to breathe, remember? 🌳
On 2018. Jan 3., at 10:34, Tuk Bredsdorff tuk@tiktuk.net wrote:
Hi,
is there a quick way to transform for instance
[Role, User, UserRole, SourceAddress, BulkMessage, Message, SingleSMSTemplate, Company, Contact]
into
[ Role, User, UserRole, SourceAddress, BulkMessage, Message, SingleSMSTemplate, Company, Contact ],
?
(In this case it's Python but it could be more or less any language.)
I do this so often manually, there must be a better way?
Thanks, Tuk
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate