当前位置:网站首页>Maxcompute string replacement function -replace
Maxcompute string replacement function -replace
2022-06-29 17:49:00 【The dawn of victory】
REPLACE
Function description
use new String substitution str String with old The part of the string that exactly coincides and returns the replaced str. If there are no coincident strings , Go back to the original str.
Grammar format
string replace(string <str>, string <old>, string <new>)
Parameter description
Enter the reference
- str: Required .STRING type . String to be replaced .
- old: Required . String before replacement .
- new: Required . Replaced string .
The ginseng
STRING type . If any input parameter value is NULL, return NULL.
Examples of use
1. Use string 12 Replace string ababab And string abab Fully coincident part .
-- return 12ab.
select replace('ababab','abab','12');
2. Any input parameter is NULL.
-- return NULL.
select replace('123abab456ab',null,'abab');
边栏推荐
- 基于注解和拦截器防止表单重复提交
- VB.Net读写NFC Ntag标签源码
- What is a SCM system? What are the advantages of a supply chain management system?
- mongoTemplate - distinct 使用
- Redux源码分析之createStore
- 填充每个节点的下一个右侧节点指针[利用好每个点->尽可能降低时空复杂度]
- Let's start with a bug that was cheated by the app store
- /usr/bin/ld: warning: **libmysqlclient.so.20**, needed by //usr/
- Digital twin energy system, creating a "perspective" in the low-carbon era
- Li Kou today's question -535 Encryption and decryption of tinyurl
猜你喜欢
![填充每个节点的下一个右侧节点指针[利用好每个点->尽可能降低时空复杂度]](/img/33/bda0a898bfe3503197026d1f62e851.png)
填充每个节点的下一个右侧节点指针[利用好每个点->尽可能降低时空复杂度]

Face recognition 4- research on Baidu commercial solutions

MATLAB 最远点采样(FPS)

How to create and delete MySQL triggers

自动化软件测试 - 利用短信转发器结合Selenium读取短信验证码
![[webdriver] upload files using AutoIT](/img/69/8c27626d515976b47f1df4831d09c8.png)
[webdriver] upload files using AutoIT

育润多维发力慈善领域,勇抗企业公益大旗

VB.Net读写NFC Ntag标签源码

What are the usage scenarios for locks in MySQL

Visio annotation, annotation location
随机推荐
基于STM32F103ZET6库函数定时器中断实验
育润多维发力慈善领域,勇抗企业公益大旗
R language uses user-defined functions to write deep learning leaky relu activation functions and visualize leaky relu activation functions
Force deduction daily question 06.29 add two numbers
分割回文串[dp + dfs组合]
剖析下零拷贝机制的实现原理,适用场景和代码实现
自定义HandlerInterceptor拦截器实现用户鉴权
Can MySQL views create indexes
牛客小白月赛52 E 分组求对数和(容斥定理+二分)
最受欢迎的30款开源软件
[Oracle] basic knowledge interview questions
小程序容器是什么技术?能助力物联网企业红海突围?
Timer interrupt experiment based on stm32f103zet6 library function
Prevent form resubmission based on annotations and interceptors
SRM系统可以为企业带来什么价值?
Mongotemplate - distinct use
金鱼哥RHCA回忆录:DO447构建高级作业工作流--使用事实缓存提高性能
How to solve the 2003 error of MySQL in Linux
/usr/bin/ld: warning: **libmysqlclient.so.20**, needed by //usr/
Partial mock of static class of phpunit operation