Top "Delimiter" questions

A delimiter is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams.

Cut string after first occurrence of a character

I have strings like 'keepme:cutme' or 'string-without-separator' which should become respectively 'keepme' and 'string-without-separator'. Can this be done in …

sql string postgresql pattern-matching delimiter
Split a string with multiple delimiters in Ruby

Take for instance, I have a string like this: options = "Cake or pie, ice cream, or pudding" I want to …

ruby string delimiter
C# StreamReader, "ReadLine" For Custom Delimiters

What is the best way to have the functionality of the StreamReader.ReadLine() method, but with custom (String) delimiters? I'd …

c# parsing file-io streamreader delimiter
D3 remove comma delimiters for thousands

I have a .json with 3 columns where one of them is 'Year'. The column contains only years. No dates!. When …

parsing time d3.js delimiter comma
How to import a flat file without changing regional settings on the deployment server?

I am trying to read a text file in SSIS (2005/2008). I created a connection to the file and placed flat …

ssis delimiter flat-file
PHP - Best approach to detect CSV delimiter

I have seen multiple threads about what the best solution to auto detect the delimiter for an incoming CSV. Most …

php csv delimiter
Include )" in raw string literal without terminating said literal

The two characters )" terminate the raw string literal in the example below. The sequence )" could appear in my text at …

c++ c++11 delimiter string-literals rawstring
How to use csv.Sniffer for 2 different CSV-types?

I want to read 2 different types of CSV-files: one with a ',' as delimiter one with a ';' …

python csv delimiter sniffer
In PHP, how can I split a string by whitespace, commas, and newlines at the same time

Possible Duplicate: How to split a string by multiple delimiters in PHP? What would be the most efficient way to …

php arrays split explode delimiter
Convert comma to point as delimiter

How can I convert user number input from something like 11,5 to 11.5? I have tried the following as callback: before_validation :…

ruby-on-rails validation delimiter