参考答案: B
详细解析:
参考四个选项,唯一差异是最后一个参数的区别,参考string regexp_substr(string
MaxCompute中要提取时间类型字符串:【22/Aug/2017:00:01:06+0800】中的当前小时数(包括中括号),正确的使用方式为()。
A. regexp_substr(access_time, ’:\\d\\d:’1,1)
B. regexp_substr(access_time, ’:\\d\\d:’1,2)
C. regexp_substr(access_time, ’:\\d\\d:’1,3)
D. regexp_substr(access_time, ’:\\d\\d:’1,4)
参考答案: B
详细解析:
参考四个选项,唯一差异是最后一个参数的区别,参考string regexp_substr(string