我试图在公式 Tex 中使用 trim 选项来分隔要点描述?
I trying to separate the bullet point description using trim option in the formula Tex?
我想使用 NetSuite 的此类功能 TRIM(LEADING' ' FROM REGEXP_SUBSTR({storedescription}, '[^:]+', 1, 2)) 来分隔来自保存搜索的要点 results.Or 你能告诉我要点的 REGEXP_SUBSTR 是什么吗(UI 中的
)。
This is my store description on inventory item
This is my inventory item save search result
您可以在正则表达式中使用文字要点来获取除要点之外的任何数据。它可以正常工作。
查询:
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,1) from dual;
您可以在您的 Toad 或 SQL 开发人员中 运行 查询,它将 return 项目符号点后第一个值的结果。您需要将最后一位数字递增为 2,3,依此类推,根据您对字符串的需要。如果你这样做
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,2) from dual;
然后它将取项目符号点后的第二个值。
示例:
Demo
我想使用 NetSuite 的此类功能 TRIM(LEADING' ' FROM REGEXP_SUBSTR({storedescription}, '[^:]+', 1, 2)) 来分隔来自保存搜索的要点 results.Or 你能告诉我要点的 REGEXP_SUBSTR 是什么吗(UI 中的
This is my store description on inventory item
This is my inventory item save search result
您可以在正则表达式中使用文字要点来获取除要点之外的任何数据。它可以正常工作。
查询:
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,1) from dual;
您可以在您的 Toad 或 SQL 开发人员中 运行 查询,它将 return 项目符号点后第一个值的结果。您需要将最后一位数字递增为 2,3,依此类推,根据您对字符串的需要。如果你这样做
SELECT REGEXP_SUBSTR('• This is first bullet point, • this is second bullet point','[^•]+',1,2) from dual;
然后它将取项目符号点后的第二个值。
示例:
Demo