Forum Discussion
PowerBINoob24
3 years agoResolver I
Stripping characters from string
I have a number of records that have an employee's title and name. The format is Title (Name). Is there a way to strip all characters away except for the employee's name? Thanks in advance.
- 3 years ago
Thanks for clarifying. You can use Extract function in Power Query Editor. Please find the code and sceenshot attached.
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type1", {{"Name", each Text.BetweenDelimiters(_, "(", ")"), type text}}) - 3 years ago
So easy once you know where to look. Thanks!
AbhinavJoshi
3 years agoResponsive Resident
Thanks for clarifying. You can use Extract function in Power Query Editor. Please find the code and sceenshot attached.
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type1", {{"Name", each Text.BetweenDelimiters(_, "(", ")"), type text}})
PowerBINoob24
3 years agoResolver I
So easy once you know where to look. Thanks!