StringManipulation icon indicating copy to clipboard operation
StringManipulation copied to clipboard

Split String

Open feinstein opened this issue 2 years ago • 4 comments
trafficstars

Sometimes I have a string like

a, b, c, d

and I want to split it on each comma, making it as

a,
b,
c,
d

This could be a very helpful tool to have in this plugin.

feinstein avatar May 29 '23 16:05 feinstein

I use just multicarets for that

krasa avatar May 29 '23 16:05 krasa

How do you place all the multicarets automatically on each comma?

feinstein avatar May 29 '23 16:05 feinstein

Main Menu | Edit | Find | Add Selection for Next Occurrence or Main Menu | Edit | Find | Select All Occurrences

I mapped it to alt+D and alt+G, or just user Replace. Maybe a Macro would be also useful.

krasa avatar May 29 '23 16:05 krasa

Well I would appreciate if I could select a text and go to String Manipulation > Split and then I provide the split delimiter, it's simpler I guess.

On Mon, May 29, 2023, 13:38 Vojtěch Krása @.***> wrote:

Main Menu | Edit | Find | Add Selection for Next Occurrence or Main Menu | Edit | Find | Select All Occurrences

I mapped it to alt+D and alt+G, or just user Replace. Maybe a Macro would be also useful.

— Reply to this email directly, view it on GitHub https://github.com/krasa/StringManipulation/issues/206#issuecomment-1567335153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB56RGCHJMHEUBAALQLXQTDXITGJNANCNFSM6AAAAAAYS6WDTY . You are receiving this because you authored the thread.Message ID: @.***>

feinstein avatar May 29 '23 16:05 feinstein