🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #1072

Re: Parsowanie stringa.

#1072
From: Piecu
Date: Wed, 05 May 2004 21:06
16 lines
1518 bytes
red napisał(-a):
> "1.0 1.0 1.0"
> Taki mial byc, bez literek 'f', ale moga sie tam pojawic znaki '-', czyli
> moze byc przykladowo tez taki:
> 
> "-1.0 10.0 -16.5"

No to najpierw Split() po spacjach, a potem float.Parse() na każdym 
elemencie tablicy zwróconej po splicie.

-- 
  ____  _
|  _ \(_) ___  ___ _   _   piecu(malpka)go2.pl   gg:1277308
| |_) | |/ _ \/ __| | | |  --------------------------------
|  __/| |  __/ (__| |_| |  "jutro to dziś - tyle, że jutro"
|_|   |_|\___|\___|\__,_|       Sławomir Mrożek (1981)
Technical Details
Message-ID: <c7bl7g$e2u$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <c7bkma$kva$1@inews.gazeta.pl> <c7bkpr$oji$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Piecu <piecu.NIE_...@go2.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: Parsowanie stringa.
Date: Wed, 05 May 2004 23:06:20 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 17
Message-ID: <c7bl7g$e2u$1@nemesis.news.tpi.pl>
References: <c7bkma$kva$1@inews.gazeta.pl> <c7bkpr$oji$1@inews.gazeta.pl>
Reply-To: pi...@go2.pl
NNTP-Posting-Host: ya10.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1083791411 14430 80.55.234.10 (5 May 2004 21:10:11 GMT)
X-Complaints-To: use...@tpi.pl
NNTP-Posting-Date: Wed, 5 May 2004 21:10:11 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040405)
X-Accept-Language: pl, en-us, en
In-Reply-To: <c7bkpr$oji$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit