Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract strings or split by character #539

Closed
Chocoder opened this issue Jul 20, 2021 · 4 comments
Closed

Extract strings or split by character #539

Chocoder opened this issue Jul 20, 2021 · 4 comments

Comments

@Chocoder
Copy link

Hello, could it be possible to add those two functions:

  • extract a substring by indicating start and lenght;
  • Split a string by delimiter like space, _ or others...
    Thanks !
@aschonfeld
Copy link
Collaborator

@Chocoder the first seems doable. Thee second one I'm not sure what the expected outcome would be. Could you send an example of dataframes "before & after" the string splitting?

@reza1615
Copy link

@aschonfeld : for this request we can make it more general like excel.
image
image
image

An example for splitting text by ,
image

@Chocoder
Copy link
Author

@reza1615 yes thats it! It can be useful when the lenght of caracters to be split is not a constant in the column!

@aschonfeld
Copy link
Collaborator

@Chocoder just released v1.53.0 with these changes. If you haven't already please take a second to toss your ⭐ on the repo. Thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants