BeginnerText Functions
Strip stray spaces from item codes with TRIM
Clean codes that arrive padded with spaces so lookups stop failing on them.
TRIM
4 min10 points
Removes the spaces before and after text, and collapses repeated spaces inside it.
TRIM(text)
Text Functions.
=TRIM(" HSC-04182 ")
Returns HSC-04182
Removes the spaces before and after the code, which is why a lookup that failed on the raw text succeeds on this.
TRIM only removes ordinary spaces. Non-breaking spaces pasted from web pages and PDFs survive it, so text that looks clean can still fail a match.
Each of these is a wrong turn the practice exercises recognise and name. They are the misconceptions, not the answers.
Knowing what a function does and being able to write it from memory are different skills. These close the gap.