当前位置:网站首页>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');
边栏推荐
- Mac installation php7.2
- The R language inputs the distance matrix to the hclust function for hierarchical clustering analysis. The method parameter specifies the distance calculation method between two combined data points,
- Industry application of smart city based on GIS 3D visualization
- 最长异或路径(dfs+01trie)
- How to create a virtual image
- PCB frame drawing - ad19
- Does MySQL support foreign keys
- Mysql database literacy, do you really know what a database is
- 自定義HandlerInterceptor攔截器實現用戶鑒權
- R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a plot function visualization result to form the f
猜你喜欢

selenium 文件上传方法

Issue 42: is it necessary for MySQL to have multiple column partitions

Industry application of smart city based on GIS 3D visualization

Mysql database literacy, do you really know what a database is

How to solve MySQL 1045 error in Linux

YoloV6+TensorRT+ONNX:基于WIN10+TensorRT8+YoloV6+ONNX的部署

How MySQL queries character set codes of tables

What technology is an applet container? Can it help Internet of things enterprises break through the red sea?

What is the MySQL query view command

ISO 32000-2 international standard 7.7
随机推荐
Redux源码分析之createStore
Test dble split function execution + import time-consuming shell script reference
3h精通OpenCV(七)-颜色检测
0 basic self-study STM32 (wildfire) -- use register to light LED -- Explanation of GPIO function block diagram
Let's start with a bug that was cheated by the app store
数字孪生能源系统,打造低碳时代“透视”眼
Visual Studio插件CodeRush正式发布v22.1——优化调试可视化工具
Web Scraping with Beautiful Soup for Data Scientist
基于gis三维可视化的智慧城市行业运用
How to solve the 2003 error of MySQL in Linux
Industry application of smart city based on GIS 3D visualization
分割回文串[dp + dfs组合]
Fill in the next right node pointer of each node [make good use of each point - > reduce the space-time complexity as much as possible]
育润多维发力慈善领域,勇抗企业公益大旗
0 basic self-study STM32 (wildfire) - register lit LED
SSH protocol learning notes
Mac installation php7.2
关于日期相加减问题
Younger sister Juan takes you to learn JDBC - 2-day dash Day1
国外LEAD赚钱,做个网站真的很简单