Forum Discussion
PowerBINoob24
Resolver I
3 years agoStripping 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
Responsive Resident
3 years agoThanks 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
Resolver I
3 years agoSo easy once you know where to look. Thanks!