@@ -14,7 +14,8 @@ let r = [
1414 / returns first+last merged, as one number
1515 Text.FindFirstLastDigits = ( source as text ) as number => [
1616 first = Text.PositionOfAny( source, digits, Occurrence.First ),
17- last = Text.PositionOfAny( source, digits, Occurrence.Last ), chars = Text.ToList(source),
17+ last = Text.PositionOfAny( source, digits, Occurrence.Last ),
18+ chars = Text.ToList(source),
1819 textNumber = chars{first} & chars{last},
1920 return = Number.FromText( textNumber, null )
2021 ][return],
@@ -284,6 +285,10 @@ let r = [
284285 ][ret],
285286
286287
288+ Format.ControlChar = Format.ShowBlank,
289+ Fcc = Format.ShowBlank,
290+ Format.Newline = Format.ShowBlank,
291+ Format.Blank = Format.ShowBlank,
287292
288293 // Input : list of all values.
289294 // Output: true emptyString, and nulls are replaced with control char symbols
@@ -292,11 +297,6 @@ let r = [
292297 in: { "a", "b" }
293298 out: "a#(cr,lf)b"
294299 */
295- Format.ControlChar = Format.ShowBlank,
296- Fcc = Format.ShowBlank,
297- Format.Newline = Format.ShowBlank,
298- Format.Blank = Format.ShowBlank,
299-
300300 Format.ShowBlank = (source as list) as list => [
301301 ret = List.ReplaceMatchingItems( source,
302302 { { "", "<EmptyStr>" },
0 commit comments