$detect->getscr iptVersion(), // All headers that trigger isMobile to be true, // before reaching the User-Agent match detection. headerMatch => $detect->getMobileHeaders(), // All possible User-Agent headers. uaHttpHeaders => $
论坛里又有人问起日期怎样格式化为:2004-08-09 05:02:20这样的格式:于是写了一个左(右)对齐的函数.这函数等价于.NET里String对象的PadLeft和PadRight函数
Function PadLeft(Value,Length,sChar)
Dim strText,I
strText = String(Length,sChar)
strText = strText & Value
LeftPad = Right(strText,Length)
End