getHost(String) method

Extracts the host part from URL string.

Syntax

protected String getHost ( String str )

Parameters

Returns

the possible host part