Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7905
| From | James Stein <mathgroup@stein.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to remove the Null character in a Table? |
| Date | 2012-01-17 08:35 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jf3bs4$ndd$1@smc.vnet.net> (permalink) |
| References | <201201162211.RAA15417@smc.vnet.net> |
DeleteCases[yourList, Null]
On Mon, Jan 16, 2012 at 2:11 PM, Rex <aoirex@gmail.com> wrote:
> For example,
>
> Table[If[i < 3, i,], {i, 5}]
> will give
> {1, 2, Null, Null, Null}
>
> But I want the result to be {1,2}.
>
> Any trick for this?
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to remove the Null character in a Table? James Stein <mathgroup@stein.org> - 2012-01-17 08:35 +0000
csiph-web