Forum Discussion
How to remove nonessential characters such as punctuation, numbers, web addresses
- 9 years ago
Greg_Deckler: Text.Trim only removes characters at the start or at the end of a text.
My suggestion would be to convert the text to a list of characters, remove the unwanted characters and return the result back to a text.
= Text.Combine(List.RemoveItems(Text.ToList("M,,,a.r;;;celB.;e.u.;g"),Text.ToList(",.;")))
Sean I'm afraid you are mixing up "non-essential" with "non-printable".
This solution will not return "MarcelBeug" from my example. :smileylol:
- MarcelBeug9 years ago
Community Champion
- Sean9 years ago
Community Champion
MarcelBeug:smileyvery-happy: :smileylol:
I never said Clean would be a solution!
Before arthastic accepted your answer as a solution he gave smpoure the heads up as if Trim would be enough!
So I started preparing my answer before yours was marked as the solution!
Just wanted to show the Trim can be accessed through the User Interface
And because Clean is right underneath Trim I decided to include it - thats it - nothing else! :smileylol: :smileylol: :smileylol:
EDIT: The Audio is amazing! :smileylol: