Комментарии:
Thank you for this, Ajay. How could I remove extra spaces from a column in a nested table before expanding the table?
ОтветитьDear how to remove spaces in number colomn
ОтветитьThank you so much for publishing this. I managed to add a slight adjustment that helped me with my problem: to remove only multiple spaces and not single ones, the also to replace with a delimiter so I could then split the columns. It's not perfect but if anyone else needed this then here is that changed code. The delimiter is # in this case. I also put two spaces in the x function instead of one.
(text as text)=>
let
x = Text.Split(text," "),
y = List.Select(x,each _<>""),
z = Text.Combine(y,"#")
in
z
Very helpfull for me, thank you very much! I tried with search for two spaces or more and replace with nothing like in MS Word "SPACE{2;}", but this did not work.
ОтветитьHere it is the full trim code in case you want to use it ^^
(text as text)=>
let
x = Text.Split(text," "),
y = List.Select(x,each _<>""),
z = Text.Combine(y," ")
in
z
Thanks for the awesome video!
Thanks man! Works like a charm!
ОтветитьVery helpful! Works perfectly! Thank you very much!
ОтветитьPretty good solution. Thanks for sharing
ОтветитьAwesome! Thank you!
ОтветитьThis is brillient Ajay!! thanks for sharing.
ОтветитьIt’s working with your method, awesome!! Thanks very much.
ОтветитьAmazing
ОтветитьIs there any short cut method for this instead of write program ..? Substitute funtion will remove all spaces including single space between words.. Trim will not remove space in between words.. So, is there any other function which will remove only extra spaces from a sentence..?
Ответитьsir is this possible with trim function
Ответить