1. JS multi-delimiter split stringvar username = "Zhao,li;wang, Liu";var arr = str.split (/; |;|,|,|,/); The parentheses can be used to write multi-split symbols, both in English and Chinese, and note that the "|" Between each separator Separated,
In Oracle, the WM_CONCAT function is an aggregate function similar to the GROUP_CONCAT function in MySQL, but the Group_concat function is powerful and can define delimiters and sorts, and of course the so-called strong is relative, If we don't know
For example, there is a table, we need a statement like Select Otherid, splitdata WHERE someid = ' abcdef-....... ', and then you can return the split into separate rows.Original table:| Someid | Otherid | Data+----------------+-------------+--------
Python Split () method
Describe
Python split () slices a string by specifying a delimiter, separating the NUM substring only if the parameter num has the specified value
Grammar
Split () method syntax:
Str.split (str= "",
Today, we used the split function in Java to use the "|" As a separator, when the input bar, found an error, this problem should have been encountered long ago, but too long to forget!Online a search, found the answer, this is because split inside
/************************************************************** Name: Fn_split_text feature Description: [Split text into temporary table by delimiter] parameter introduction: [@ Text] to be split back: Table: Subcolstr: Split String Special
Database applications are often encountered where a field store connects key-value strings through delimiters, such as the following table in the filehistory structure column: KeywordsWe may convert in some business scenarios into the following
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.