Anu*_*bis 2 string oracle plsql replace substring
我正在尝试编写一个可以通过切换字符对来解码消息的函数.
假设我message hello!在编码时变成了ehll!o.是否有一个现有的功能Oracle,让我replace characters在指定的位置与我选择的其他角色?
message hello!
ehll!o
Oracle
replace characters
Ego*_*off 7
你应该使用看起来像山雀的正则表达式:
regexp_replace(string, '(.)(.)', '\2\1')
小提琴
归档时间:
13 年,4 月 前
查看次数:
6449 次
最近记录: