一个类似于条件(三目)运算符的函数,在js,php中都有,就是asp中没有。现在利用这个函数也就可以用了:) 这个函数是今天在网上发现的,呵呵,或许有点用途,至少能使常用if..else..end if的页面少些代码。 Function IIf(Condition, ValueIfTrue, ValueIfFalse) If Condition Then IIf = ValueIfTrue Else IIf = ValueIfFalse End ifEnd Function 查看详细内容 >>
Function FormatDate(byVal strDate,byVal strFormat) ' Accepts strDate as a valid date/time, ' strFormat as the output template. ' The function finds each item in the ' template and replaces it with the...