Tags » Delimiter

What is the syntax to join a sequence, separated by a string?

<string name>.join(<sequence>)
str = "-"
str2 = "! "
str3 = ""
seq1 = ("1","2","3")
seq2 = ('Ursula', 'Yves','Pedro', 'Bernice')


Ursula! 6 more words

Convert Tab delimited strings

I had an issue to process a csv file with TAB delimited text lines. The existing code expected text lines with ; as delimiter.

Character TAB has ASCII Code 9. 150 more words

Nav 2013

10 เครื่องหมายบนแป้น Keyboard ที่คุณอาจเรียกผิดมานานแล้ว!


อยากทราบว่า เครื่องหมายบนแป้นคีย์บอร์ดทั้ง 10 นี้ มีชื่อว่าอะไร?

1. ”
2. #
3. $
4. ^
5. &
6. *
7. [ ]
8. { }
9. = 200 more words

Microsoft Excel

What is the syntax to split an array based on a value?

Split(expression, delimiter, count, compare)
'expression is a string; only mandatory parameter
'count - how many substrings to be returned. -1 means all substrings are returned
'compare - 0 for binary, 1 for textual

'be aware that the Split function returns an array value, not string value. 44 more words

Using Charindex + Cross Apply to split delimiter-separated values (SQL Server)

Let’s suppose that we have some delimiter-separated values, like this:

We want to separate the delimited values into five columns, like this:

We can solve this using the following code: 124 more words

SQL Server Transact-SQL

bash | parsing lines to array with quoted delimiters

OIFS=$IFS;IFS=$'\n';ARRAY=($(echo "$LINE" | awk '{ for (i = 0; ++i <= NF;) printf "%s\n", $i }' FPAT='([^,]+)|("[^"]+")'));IFS=$OIFS


Java 8 StringJoiner demo

Finally Java has convenient and intuitive API for joining strings with delimiters! Since Java 8 there is StringJoiner class. It is an API that you may know from Guava Joiner classes (see my post: … 231 more words