index
inc/config
inc/config.bak
inc/wts
inc/class/cache
inc/class/cookie
inc/class/db
inc/class/error
inc/class/fso
inc/class/function <--
inc/class/js
inc/class/load
inc/class/log
inc/class/pagelist
inc/class/request
inc/class/response
inc/class/route
inc/class/session
inc/class/template
inc/class/valid
inc/class/crypt/a2u
inc/class/crypt/aes
inc/class/crypt/base64
inc/class/crypt/des
inc/class/crypt/escape
inc/class/crypt/hex
inc/class/crypt/md5
inc/class/crypt/num
inc/class/crypt/rsa
inc/class/crypt/sha
inc/class/ext/array
inc/class/ext/cart
inc/class/ext/date
inc/class/ext/http
inc/class/ext/jmail
inc/class/ext/jpeg
inc/class/ext/json
inc/class/ext/jsont
inc/class/ext/mail
inc/class/ext/md5
inc/class/ext/pack
inc/class/ext/stringbuilder
inc/class/ext/tqqwry
inc/class/ext/upfile
inc/class/ext/verify
inc/class/ext/webstat
inc/class/ext/wia
inc/class/ext/xml
inc/class/ext/zip
inc/class/route/module
inc/class/route/slash
inc/module/default/control/clear
inc/module/default/control/crypt
inc/module/default/control/error
inc/module/default/control/hello
inc/module/default/control/index
inc/module/default/control/json
inc/module/default/control/pic
inc/module/default/control/upload
inc/module/default/control/start/site
inc/module/default/control/start/route/key
inc/module/default/control/start/route/pic
inc/module/default/control/start/route/reg
inc/module/default/control/tag/hello
inc/module/default/language/cn/hello
inc/module/default/language/en/hello
inc/module/default/model/hello
inc/module/help/control/error
inc/module/help/control/index
inc/module/help/control/install
inc/module/help/control/start/site

类描述

title Class_Function
author ekede.com
date 2018-07-22
description 全局函数类

类方法

HtmlEncodes(ByRef str) 字符串 - Html编码
HtmlDncodes(ByRef str) 字符串 - Html解码
UrlEncodes(ByRef str) 字符串 - URL编码
UrlDecodes(ByVal str) 字符串 - URL解码
AddSlashes(ByVal str) 字符串 - 单引号转义
StrLength(ByRef str) 字符串 - 长度
StrReplace(ByRef str,ByRef str1,ByRef str2) 字符串 - 替换,解决Null空值出错的问题
StrLeft(Byval str,ByRef strLeng,ByRef strExt) 字符串 - 截字符串
StrBr(ByRef str) 字符串 - 替换换行符
StripTags(str) 字符串 - 去除html标签和Asp标签
StrChars(ByRef str, ByVal chars) 字符串 - 搜索字符(字符串str是否由字符集chars组成)
StrCheck(ByRef str, ByVal chars) 字符串 - 搜索字符 (字符串str是否包含指定字符集chars)
StrEqual(ByRef str,ByRef strs,ByRef ge) 字符串 - 搜索单词
StrCompare(ByRef a,ByRef t,ByRef b) 字符串 - 比较两个字符串的大小,区分大小写
TrimBoth(ByRef str1,ByRef str2) 字符串 - 去掉头尾指定字符
TrimVBcrlf(ByRef str) 字符串 - 去掉头尾连续空白字符
LTrimVBcrlf(ByRef str) 字符串 - 去掉开头空白字符
RTrimVBcrlf(ByRef str) 字符串 - 去掉末尾空白字符
GetRandomizeCode(ByRef num) 字符串 - 生成序列号
GetSequenceId() 字符串 - 生成流水号
GetDomain(ByRef url) 字符串 - 取域名
GetExt(ByRef fileName) 字符串 - 取扩展名
IIF(ByRef a,ByRef b,ByRef c) 字符串 - 三元运算 a?b:c
CheckExp(ByRef strng,ByRef patrn) 正则 - 查找字符串是否存在
MatchesExp(ByRef strng,ByRef patrn) 正则 - 匹配字符串,返回匹配集合
ReplaceExp(ByRef strng,ByRef patrn,ByRef replaces) 正则 - 替换字符串
IsValid(ByRef act,ByRef strng) 正则 - 验证更多 email,username,password,telephone,mobile,number,ip,date,zip
StrClng(ByRef str) 数字 - 将数字串转为长整型数值,Fix向零方向取整
StrClngf(ByRef str,ByRef n) 数字 - 将数字串转为长整型数值,Round四舍无入
FormatNum(ByVal num,ByRef n) 数字 - 取小数点后几位,小于1整数位自动添零
FormatDate(ByRef dateAndTime,ByRef para) 日期 - 格式化
OpenURL(ByRef act,ByRef url,ByRef param,ByRef res) 文档 - 读取远端文件 Ajax,Get,Post
DownLoad(path) 文档 - 读服务器文件,缓存流输出到浏览器
XmlTrans(ByRef strXml,ByRef strXsl) 文档 - 合并XML XSLT
IsObjInstalled(ByRef strClass) 检查组件是否已经安装
IsEmptys(ByRef arg) 调试 - 判断是否为空,包括数值型和引用型
Print(ByRef str) 调试 - 输出变量

返回