Forum Discussion
C-Duff84
3 years agoRegular Visitor
Adding spaces between all characters in a string
Hi, Wondered if anybody could help. I need to add spaces between all characters in strings in a column called [Names] i.e the string 'Simon Jones', would become 'S i m o n J o n e s' Not s...
- 3 years ago
Hi C-Duff84 ,
you could add a column like so:
Text.Combine(List.Transform(Text.ToList([Names]), (l)=> l & " "), "")
Please also check the file enclosed. - 3 years ago
= Table.AddColumn(Source, "Spaced", each Text.Combine(Text.ToList([Name]), " "))