<< Click to Display Table of Contents >> Example |
!== TSystemUri example
uri TSystemUri
DateTimeFormatsG GROUP,PRE(DateTimeFormatsG)
ShortDate STRING(20)
LongDate STRING(48)
FullDateShortTime STRING(64)
FullDateLongTime STRING(64)
GeneralDateShortTime STRING(64)
GeneralDateLongTime STRING(64)
MonthDay STRING(20)
RoundTripDateTime STRING(32)
RFC1123 STRING(32)
SortableDateTime STRING(20)
ShortTime STRING(20)
LongTime STRING(20)
UniversalSortableDateTime STRING(20)
UniversalFullDateTime STRING(48)
YearMonth STRING(20)
END
CODE
uri.Uri('http://mike:123@www.md.com/index.php?ID=5&Name=Mike#Intro')
UriPropsG:AbsPath = uri.AbsolutePath()
UriPropsG:LocalPath = uri.LocalPath()
UriPropsG:PathAndQuery = uri.PathAndQuery()
UriPropsG:Query = uri.Query()
UriPropsG:Scheme = uri.Scheme()
UriPropsG:UserInfo = uri.UserInfo()
UriPropsG:AbsoluteUri = uri.AbsoluteUri()
UriPropsG:Authority = uri.Authority()
UriPropsG:DnsSafeHost = uri.DnsSafeHost()
UriPropsG:Fragment = uri.Fragment()
UriPropsG:Host = uri.Host()
UriPropsG:Port = uri.Port()
UriPropsG:HostNameType = UriHostNameType::ToString(uri.HostNameType())
UriPropsG:IsWellFormedOriginalString = uri.IsWellFormedOriginalString()
UriPropsG:IsAbsoluteUri = uri.IsAbsoluteUri()
UriPropsG:IsDefaultPort = uri.IsDefaultPort()
UriPropsG:IsFile = uri.IsFile()
UriPropsG:IsLoopback = uri.IsLoopback()
UriPropsG:IsUnc = uri.IsUnc()