DataFlow.TrimString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Trims string values in specific columns.
public Microsoft.DataPrep.Common.DataFlow TrimString(Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector columns, bool trimLeft = true, bool trimRight = true, Microsoft.DataPrep.Common.TrimType trimType = Microsoft.DataPrep.Common.TrimType.Whitespace, string customCharacters = "");
member this.TrimString : Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector * bool * bool * Microsoft.DataPrep.Common.TrimType * string -> Microsoft.DataPrep.Common.DataFlow
Parameters
- columns
- Microsoft.DPrep.Engine.PropertiesSystem.ColumnsSelector
The source columns.
- trimLeft
- Boolean
Whether to trim from the beginning.
- trimRight
- Boolean
Whether to trim from the end.
- trimType
- TrimType
Whether to trim whitespace or custom characters.
- customCharacters
- String
The characters to trim.