Learn how to use the TrimEnds function’s capabilities in Power Fx to convert remove ALL additional spaces from the beginning and end of text, leaving any additional spaces between words there. This demo uses Power Apps, but it’s the same wherever Power Fx is used (such as Copilot Studio etc).
All demo code is below:
TrimEnds(" Flow Joe ")
TrimEnds(" Flow Joe ")
TrimEnds(" Flow Joe")