---
title: Trim
description: Remove beginning and ending spaces on a string
---

[Back to home](https://www.flow-wizard.com/knowledge)

- [ Analytical 
  
  ](https://www.flow-wizard.com/knowledge/analytical)
- [ Arithmetic 
  
  ](https://www.flow-wizard.com/knowledge/arithmetic)
- [ Data Prep 
  
  ](https://www.flow-wizard.com/knowledge/data-prep)
- [ Logical 
  
  ](https://www.flow-wizard.com/knowledge/logical)
- [ Charting Functions 
  
  ](https://www.flow-wizard.com/knowledge/charting-functions)
- [ Date Time 
  
  ](https://www.flow-wizard.com/knowledge/date-time)

# Trim

## Remove beginning and ending spaces on a string

***Function:***

Trim(table = *string*, col =* string*)

 

***Parameters:***

*Table: *Table name on which to perform function

*Column Name(s):* Columns to trim blank characters

 

***Examples:***

Trim(table = Budget, col = ["Geo", "Segment"])