Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2007

Tip: Looking for answers? Try searching our database.

List delimiter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Holschbach - 20 Nov 2007 20:40 GMT
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
Nicholas Paldino [.NET/C# MVP] - 20 Nov 2007 20:53 GMT
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?

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hi all,
>
[quoted text clipped - 6 lines]
> thanx
>   Peter
Peter Holschbach - 20 Nov 2007 21:00 GMT
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,
>
[quoted text clipped - 14 lines]
>> thanx
>>   Peter
Nicholas Paldino [.NET/C# MVP] - 20 Nov 2007 21:13 GMT
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.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hi Nicholas,
>
[quoted text clipped - 25 lines]
>>> thanx
>>>   Peter
Peter Holschbach - 20 Nov 2007 21:41 GMT
Got some help in the german NG

System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator

is the solution

thanx
  Peter

> Peter,
>
[quoted text clipped - 32 lines]
>>>> thanx
>>>>   Peter
Nicholas Paldino [.NET/C# MVP] - 20 Nov 2007 21:48 GMT
Peter,

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

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Got some help in the german NG
>
[quoted text clipped - 41 lines]
>>>>> thanx
>>>>>   Peter

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.