Trim function not working

I’m running LO Calc.
Version: 26.8.2.2 (X86_64)
Build ID: 9dea406ab7695df6325b11b0e19fdca8db4b7276
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

The Trim function is not working.
Trim_not_working.ods (8.4 KB)

disask_139481WhatDidYouExpect.ods (10.2 KB)

TRIM

Removes spaces from a string, leaving only a single space character between words.

I expected it to do what is described in the helper text for the function.

image

Thanks for pointing this out.