wenn ich die doku richtig verstehe, dann �berpr�ft diese methode immer nur ein zeichen? oder lieg ich da falsch?
somit m�sste man einen string bis x.length durchlaufen und jedes einzelne zeichen �berpr�fen.....
lg
From: "Florian Hiort" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: AW: AW: [Asp.net] IsNumeric - C#!? Date: Fri, 6 Feb 2004 16:29:13 +0100
Daf�r gibt das die Char.IsNumber(String, Int32) Methode.
Ein Blick in die Doku tut oft wunder.
Flo
-----Urspr�ngliche Nachricht----- Von: Oskar O [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 6. Februar 2004 16:26 An: [EMAIL PROTECTED] Betreff: RE: AW: [Asp.net] IsNumeric - C#!?
aha... und das geht auch f�r zb:
string x = "238";
System.Char.IsNumber(x);
oder nur f�r einen character?
lg, oskar
>From: "Florian Hiort" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: AW: [Asp.net] IsNumeric - C#!?
>Date: Fri, 6 Feb 2004 16:08:39 +0100
>
>Wie w�hre es mit der System.Char.IsNumber(char c); methode?
>Ist irgenwie einfacher als try - catch....
>
>Gru�
>Flo
>
>
>-----Urspr�ngliche Nachricht-----
>Von: Lars Berner [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 6. Februar 2004 15:57
>An: [EMAIL PROTECTED]
>Betreff: RE: [Asp.net] IsNumeric - C#!?
>
>Oki dok ;-)
>
>At 15:45 06.02.2004, you wrote:
>
> >Hallo,
> >
> > >
> > > welche M�glickeiten habe ich denn (in VB.NET ist es IsNumeric)in C# um
> > > herauszufinden, ob ein Zeichen numerisch ist oder nicht?
> > >
> >
> >http://weblogs.asp.net/pgreborio/archive/2003/07/21/10346.aspx
> >
> >Gruss
> >
> >Alex
> >
> >P.S: Das Posting w�re in der C#-Liste besser aufgehoben ;-)
> >
> >
> >_______________________________________________
> >Asp.net mailing list
> >[EMAIL PROTECTED]
> >http://www.glengamoi.com/mailman/listinfo/asp.net
> >
> >
> >---
> >Eingehende Mail ist zertifiziert virenfrei.
> >�berpr�ft durch AVG Antivirus System (http://www.grisoft.com/de).
> >Version: 6.0.577 / Virendatenbank: 366 - Erstellungsdatum: 03.02.2004
>
>
>www.zoologie-online.de
>
>Lars Berner
>Stormcrow-Software
>Postfach: 110123
>69071 Heidelberg
>
>_______________________________________________
>Asp.net mailing list
>[EMAIL PROTECTED]
>http://www.glengamoi.com/mailman/listinfo/asp.net
_________________________________________________________________ St�bern Sie sich durch unz�hlige Single-Profile und werden Sie bald f�ndig! http://match.msn.at/match/mt.cfm?pg=channel
_______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net _______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net
_________________________________________________________________
Erh�hen Sie Ihren G�nsehaut-Faktor und verschicken Sie virtuelle K�sse! http://match.msn.at/match/mt.cfm?pg=channel
_______________________________________________ Asp.net mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/asp.net
