datastage Transformation函数之INDEX
来源:互联网 发布:mac如何设置手机铃声 编辑:程序博客网 时间:2024/05/23 12:54
Index(String, Substring, Occurrence):
它将会返回输入的字符在字符串中的起始位置。我们可以用它来实现grep命令判断指定的字符是否在输入的字符串中的功能
Ex:-
1. 判断'le'是否存在于字符串'Incol'中
1. 判断'le'是否存在于字符串'Incol'中
If Index(Incol, 'le', 1) > 0 then 'Exist' Else 'Not Exists'
2. 判断指定字符在字符串中的位置
Index('India', 'a', 1) = 5
Index('India', 'i', 1) = 4 # 大小写敏感
Index('India', 'nd', 1) = 2
阅读全文
0 0
- datastage Transformation函数之INDEX
- datastage Transformation 函数之 UpCase和DownCase
- Datastage常用函数说明
- datastage--自己定义函数
- datastage transformer函数总结
- datastage
- datastage server job之前言
- java 调度 datastage 之jna
- DataStage实践之简单入门
- DataStage实践之简单入门
- DataStage实践之简单入门
- Spark之的Transformation
- Scala之Transformation
- datastage server job之java调用datastage job
- C语言(函数)学习之index、rindex
- jQuery源码分析之$.index函数
- index()函数
- index 函数
- 二叉树平衡检查(递归思想分析)
- 腾讯云系列一:Centos7安装 Oracle 11g EX 远程连接 超简单哦!
- C++中的指针数组与数组指针
- 画地为Mask,随心所欲的高效遮罩组件[Unity]
- Linux进程入门学习(六)-管道通信
- datastage Transformation函数之INDEX
- Java——Java集合Queue
- JDK下载安装以及环境变量配置图文详解【转】
- SVM--深入学习1
- 八皇后问题详细解法
- 读《程序员必读的职业规划书》
- 2017ccpc网赛-1003-Friend-Graph
- QT treeview实现类似tableview的效果
- com.opensymphony.xwork2.interceptor.ParametersInterceptor error(未完成)