Get The List Separator Based On Locale
Usually when you display a list of values, you might show it like this: 100,200,300The problem is that in some countries using a comma could mean something completely different. For instance, c
ITPro Today
February 18, 2002
1 Min Read
Usually when you display a list of values, you might show it like this: 100,200,300The problem is that in some countries using a comma could mean something completely different. For instance, commas in Germany have the same meaning as decimal points do here in the US.Some Countries List Separators: United States = , France = ; German = ; Mexico = , Sweden = ; So whenever you need to display a list of values, always use the code below to find out what the users list separator is!
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like