Click or drag to resize

imbUrlOpsgetDomainNameFromUrl Method

Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Iz URL-a izdvaja ime domena - sklanja UrlShema deo i www. deo. Opciono konvertuje . u -

Namespace:  imbACE.Network.extensions
Assembly:  imbACE.Network (in imbACE.Network.dll) Version: 0.2
Syntax
C#
public static string getDomainNameFromUrl(
	this string input,
	bool convertDots,
	bool removeWWW = false
)
Request Example View Source

Parameters

input
Type: SystemString
convertDots
Type: SystemBoolean
removeWWW (Optional)
Type: SystemBoolean

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also