|
Ok, I've read a couple books on XML and wrote programs to spit it out and what not. But here's the question. Both a comma delimited file and a XML file are "human readable." But in general, the comma delimited file is much easier on my eyes than a XML...
Started by NoMoreZealots on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
XML supports complex, structured and hierarchical representation....
For example hierarchical data, then XML is a great choice .
If you need more complexity in your data structures than a simple "flat" row structure can give .
It all depends on what you need to do.
|
|
Hi folks,
I'm a VIM beginner, and I have a weird problem. I started using vim in a terminal emulator, but today I moved to gVim. Then I realized that I cannot write a comma in Insert mode! I tried :map , , :imap , both said no mapping found. THen I tried...
Started by sztomi on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Have an unusual keyboard layout?
What happens if you type CTRL-V followed by a comma in insert mode? Do you get a comma?
Also, since you only have this problem in gvim and not vim, try running xev for xev) The events I get look like this....
|
|
On Sun, 21 Jun 2009 16:41:01 -0700, Billp <Billp@discussions.microsoft.com
Hi,
I have a print out of a weighing scale.
It has outputted in serial text - comma delimited.
Bag Weight, Month, Day, Year, Hours, Minutes, Seconds, extra comma then
repeats...
Started by Billp on
, 30 posts
by 7 people.
Answer Snippets (Read the full thread at omgili):
(1), xlDelimited, xlTextQualifierNone, Comma:=True
End Sub
Note that if you uncomment the last line), xlDelimited, xlTextQualifierNone, Comma:=True
End Sub
--
Rick (MVP - Excel)
"KC" <.
|
Ask your Facebook Friends
|
I have several textboxes where users can enter information into them. This can include commas, so I can't use the standard comma delimited strings.
What is a good delimiter to denote that strings should be separated based on that character that isn't ...
Started by KingNestor on
, 22 posts
by 22 people.
Answer Snippets (Read the full thread at stackoverflow):
So @"uno, dos, tr\\,es" will end up with {"uno", " dos", "tr\es comments on other answers are asking for code... .
Note that you cannot escape the backslash before a comma with this.
However, as an example of escaping a comma with a backslash.
|
|
I seem to remember being taught at school not to use a comma before the word 'and' (although it is possible I buncked off that day!) but I see them all the time in the books I read and now I'm wondering what are the rules when it comes to using a comma...
Started by dazzlejazz on
, 16 posts
by 10 people.
Answer Snippets (Read the full thread at absolutewrite):
Pay attention to meaning example is often....
I don't use it.
Aka the "serial comma", "Oxford comma" or "Harvard comma"
http://en.wikipedia.org/wiki/Serial_comma
Opinions vary.
Omitted for rhythm / voice reasons.
|
|
I wanted to bring this challenege to the attention of the stackoverflow community. The original problem and answers are here . BTW, if you did not follow it before, you should try to read Eric's blog, it is pure wisdom.
Summary:
Write a function that ...
Started by MMind on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
I continually need a solution to this problem process it // we don't know whether to use comma or "and" // until we've grabbed the next after.
() + "}"; }
I'm a fan of the serial comma: I eat, shoot, and leave.
|
|
I have an Author content_type that I'm switching out for username in articles. The problem is that a story can have multiple authors, and the following code in template.php will only generate the first author. How can I get this to output to be readable...
Started by Steve Perks on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The most direct solution to get all the authors in a comma-sperated list would be the following.
|
|
As I noted in an earlier article, rules and conventions about when to use and not to use commas are legion. But certain errors keep popping up. Here are a few of them.
http://opinionator.blogs.nytimes.com...omma-mistakes/
Started by snopes on
, 18 posts
by 14 people.
Answer Snippets (Read the full thread at snopes):
With the serial....
Without the serial comma, it looks like you're talking about X as one thing, and Y+Z as one thing.
It's standard to say "X, Y, and Z.
And American text.) Actually, the Oxford/serial comma differs as well.
|
|
Hey all,
I've been very interested in CSV files for a few years now, but I never needed to use them until now, so I'm pretty new to this.
I have an application that stores information about Controls that were created by the user at run-time. I plan on...
Started by baeltazor on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Some files have.
Some files are not comma separated at all, but semicolon separated.
The file line by line.
|
|
I made a config file it has some following format
variableName = value variableName = value variableName = value
I know I can read file split them store them in variable. But I am looking for an easy way. For example I want to store variable names and...
Answer Snippets (Read the full thread at stackoverflow):
Try reading in everything and using a regular expression....
As for the CSV, you can read in all the lines and use String#split() to break each line into an array of values .
Here is a Sun tutorial.
Use java.util.Properties to read in the key=value file.
|