Tags » Delimiter

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

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

print(str.join(seq1))
print(str2.join(seq2))
print(str3.join(seq2))

#output
1-2-3
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
VBA

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