Click or drag to resize
TextHelperReduceWhiteSpaces Method
Replace whitespaces in input text to specified replacement.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string ReduceWhiteSpaces(
	string text,
	string replacement
)

Parameters

text
Type: SystemString
Input text
replacement
Type: SystemString
Replacement

Return Value

Type: String
See Also