AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

StringExtensions..::..ToTabToHtml Method

Replaces tab characters with HTML non-breaking space entities (4 spaces per tab).

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string ToTabToHtml(
	this string str
)

Parameters

str
Type: String
The string to convert.

Return Value

The string with tabs replaced by HTML non-breaking spaces.