Ensures that the path starts with the leading character

Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string EnsureLeadingChar(
	string leading,
	string path
)
Visual Basic
Public Shared Function EnsureLeadingChar ( 
	leading As String,
	path As String
) As String

Parameters

leading
Type: System..::..String
paramleadingM:DotNetNuke.Entities.Urls.FriendlyUrlController.EnsureLeadingChar(System.String,System.String)
path
Type: System..::..String
parampathM:DotNetNuke.Entities.Urls.FriendlyUrlController.EnsureLeadingChar(System.String,System.String)

Return Value

returnsM:DotNetNuke.Entities.Urls.FriendlyUrlController.EnsureLeadingChar(System.String,System.String)

See Also