List delimiter

  • Thread starter Thread starter Peter Holschbach
  • Start date Start date
P

Peter Holschbach

Hi all,

where can I get the current selected list delimiter which is defined for
each country ?
There is nothing in CultureInfo.CurrentCulture.NumberFormat which seems to
be the right value.
Any idea ?

thanx
Peter
 
Peter,

What do you mean by list delimiter? AFAIK, there is no such thing.
Looking at the regional and language options, I dont see anything in there
either.

What are you referring to?
 
Hi Nicholas,

I'am not sure if I have used the right translation for it (German:
Listentrennzeichen). In Windows I can select the character which is use to
seperate two "words" in a list. For example "," for en-EN or ";" for de-DE.
Excel will use this character to separate it's columns for example
"5.1,2,6,9.2".

regards
Peter
Peter,

What do you mean by list delimiter? AFAIK, there is no such thing.
Looking at the regional and language options, I dont see anything in there
either.

What are you referring to?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Hi all,

where can I get the current selected list delimiter which is defined for
each country ?
There is nothing in CultureInfo.CurrentCulture.NumberFormat which seems
to be the right value.
Any idea ?

thanx
Peter
 
Peter,

I understand what you mean, but I don't think windows, let alone .NET,
exposes anything like this. It has delimiters for separators in numbers,
but for general lists, there is nothing. I don't even know if there is a
standard for something like this.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Hi Nicholas,

I'am not sure if I have used the right translation for it (German:
Listentrennzeichen). In Windows I can select the character which is use to
seperate two "words" in a list. For example "," for en-EN or ";" for
de-DE. Excel will use this character to separate it's columns for example
"5.1,2,6,9.2".

regards
Peter
Peter,

What do you mean by list delimiter? AFAIK, there is no such thing.
Looking at the regional and language options, I dont see anything in
there either.

What are you referring to?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Hi all,

where can I get the current selected list delimiter which is defined for
each country ?
There is nothing in CultureInfo.CurrentCulture.NumberFormat which seems
to be the right value.
Any idea ?

thanx
Peter
 
Got some help in the german NG

System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator

is the solution

thanx
Peter
Peter,

I understand what you mean, but I don't think windows, let alone .NET,
exposes anything like this. It has delimiters for separators in numbers,
but for general lists, there is nothing. I don't even know if there is a
standard for something like this.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Hi Nicholas,

I'am not sure if I have used the right translation for it (German:
Listentrennzeichen). In Windows I can select the character which is use
to seperate two "words" in a list. For example "," for en-EN or ";" for
de-DE. Excel will use this character to separate it's columns for example
"5.1,2,6,9.2".

regards
Peter
Peter,

What do you mean by list delimiter? AFAIK, there is no such thing.
Looking at the regional and language options, I dont see anything in
there either.

What are you referring to?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi all,

where can I get the current selected list delimiter which is defined
for each country ?
There is nothing in CultureInfo.CurrentCulture.NumberFormat which seems
to be the right value.
Any idea ?

thanx
Peter
 
Peter,

Glad you were able to find it. Thank you for teaching me something as
well, I didn't know such a thing existed. =)


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Got some help in the german NG

System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator

is the solution

thanx
Peter
Peter,

I understand what you mean, but I don't think windows, let alone .NET,
exposes anything like this. It has delimiters for separators in numbers,
but for general lists, there is nothing. I don't even know if there is a
standard for something like this.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter Holschbach said:
Hi Nicholas,

I'am not sure if I have used the right translation for it (German:
Listentrennzeichen). In Windows I can select the character which is use
to seperate two "words" in a list. For example "," for en-EN or ";" for
de-DE. Excel will use this character to separate it's columns for
example "5.1,2,6,9.2".

regards
Peter

Peter,

What do you mean by list delimiter? AFAIK, there is no such thing.
Looking at the regional and language options, I dont see anything in
there either.

What are you referring to?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi all,

where can I get the current selected list delimiter which is defined
for each country ?
There is nothing in CultureInfo.CurrentCulture.NumberFormat which
seems to be the right value.
Any idea ?

thanx
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top