Replaces tildas in the string with a AppDomainVirtualPath (localized). If a "~/" sequence is "masked" by placing "\" before it (if the author want to keep the original string), only the masking character is removed and the tilda is not removed.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static string ReplaceTildas(
	string content
)
Visual Basic
Public Shared Function ReplaceTildas ( 
	content As String
) As String
Visual C++
public:
static String^ ReplaceTildas(
	String^ content
)
F#
static member ReplaceTildas : 
        content : string -> string 

Parameters

content
Type: System..::..String
Content with tildas that are to be replaced

Return Value

Type: String
String with all tildas replaced by HttpRuntime.AppDomainAppVirtualPath value

See Also