Concept Flow - Trim functions
Input String with spaces
Apply trim() function
Remove spaces from both ends
Return trimmed string
Output trimmed string
The trim function takes a string, removes spaces (or specified characters) from the start and end, then returns the cleaned string.