[FUNC]为字符串类添点料
来源:互联网 发布:matlab智能算法目录 编辑:程序博客网 时间:2024/06/05 22:45
为字符串类添点料,抛砖引玉,enjoy!
"".base.base := StringsMsgBox, % "hello".len()MsgBox, % "hello".add(" world")str:="你好"MsgBox % str.add("阿宽!")MsgBox % str.equals("您好")Class Strings {len(){return StrLen(this)}add(str){return this . str}equals(str){if (!this || !str)return !this && !strreturn str = this}}
阅读全文
0 0
- [FUNC]为字符串类添点料
- func
- func
- [FUNC]为AutoHotkey写个print函数
- [FUNC]循环输出字符串中的字符
- python中函数返回值为func 和func() 的区别
- 编写一个函数,实现从一个字符串中,查找另一个字符串的位置(笔试题) 例如int func("12345", "34")返回值为2,即在2号位置找到字符串“34”。
- ASP使用正则表达式截取字符串的func
- func,func(),new func()的区别
- callback func
- FUNC 使用指南
- Func 委托
- Func 委托
- func安装
- Func,Action
- Func委托
- Func用法
- Golang func
- Java使用ClassLoader抛ClassNotFoundException
- MySql 创建只读账号
- linux实战~mysql的安装
- eclipse debug
- WebService之XFire和SOAP实例(基于JAVA)
- [FUNC]为字符串类添点料
- 表单自动填充样式修改
- wcf系列5天速成——第二天 binding的使用(2)
- Android平板横屏上的DrawerLayout
- license选择
- Java内存简单分析
- XStream的初步使用学习
- HTTP & HTTPS 总结
- leetcode 503. Next Greater Element II