我想使用NetSuite TRIM的这种类型的功能(LEADING''FROM REGEXP_SUBSTR({storedescription},'[^:] +',1,2))将子弹点与保存搜索结果分开。或者你能否告诉我什么是子弹点的REGEXP_SUBSTR(
您可以在正则表达式中使用文字项目符号来获取除项目符号以外的任何数据。它的工作原理应该如此。
查询:
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,1) from dual;
您可以在Toad或SQL Developer中运行的查询,它将在项目符号点后返回第一个值的结果。您需要将最后一位数字增加为2,3,依此类推,根据您对字符串的需要。如果你这样做
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,2) from dual;
然后它将在子弹点之后取第二个值。
例: Demo