repalce(str_source,str1,str2)把str_source中str1字符串替换为str2字符串,当str2为null或‘‘时,与下个作用相同replace(str_source,str1)把str_source中的str1字符串剔除regexp_replace(str_source,pattern_str)把str_source中的pattern_str字符串剔除Oracle中like与instr之间..
分类:
其他好文 时间:
2016-01-04 00:12:50
阅读次数:
1068
/*
两个字符串A、B。从A中剔除存在于B中的字符。
比如A = “hello world”, B = "er",那么剔
除之后A变为"hllo wold"。空间复杂度要求是O(1)
,时间复杂度越优越好。
*/
#include
#include
using namespace std;
void Grial(char *str,char *ptr)
{...
分类:
编程语言 时间:
2015-08-02 06:24:28
阅读次数:
127