11000000000
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 10 articles for 0.302 sec
"Leonardo Serni" <sernil@tin.it> ha scritto nel messaggio news:ogav84hp0re26qcnuflh7udhjmgohru93k@4ax.com... > On Tue, 29 Jul 2008 19:17:18 GMT, "eSQueL" <eSQueL@libero.it> wrote: > >>http://www.paleoseti.it/e107_plugins/content/content.php?content.167 > > Una osservazione matematica: > > Percio', aggiungendo 1 creazione (per zero dimensioni) in testa alla > Gauss-like, la somma sale     

Group: it.discussioni.ufo · Group Profile · Search for 11000000000 in it.discussioni.ufo
Author: eSQueL
Date: Jul 30, 2008 00:13

On Tue, 29 Jul 2008 19:17:18 GMT, "eSQueL" <eSQueL@libero.it> wrote: http://www.paleoseti.it/e107_plugins/content/content.php?content.167 Una osservazione matematica: Percio', aggiungendo 1 creazione (per zero dimensioni) in testa alla Gauss-like, la somma sale a 2048 (che, peraltro, è numero decisamente interessante visto che la sua divisone per 2 ripetuta 11 volte restituisce
Show full article (2.30Kb) · Show article thread
Yes, this seems to solve the challenge. Thanks ! Rune > Rune data myds2; if _n_ = 1 then re = prxparse('/^(0|01)(?!0*$)/'); retain re; input string $char11.; if prxmatch(re, string) gt 0 then output; datalines; 00000000000 12345678912 01000000000 10000000000 11000000000 00100000000 01100000000 10100000000 11100000000 00000000010 01000000010 10000000010     

Group: it.discussioni.ufo · Group Profile · Search for 11000000000 in it.discussioni.ufo
Author: Leonardo Serni
Date: Jul 29, 2008 16:47

On Thu, 30 Aug 2007 20:00:24 +0200, Rune Runnest� <rune@FASTLANE.NO> wrote: It seems that I have not been precise enough when defining the criteria. I want to pick up records where STRING starts with '00' or '01'. '10' as a start is not meeting my criteria. The rest of STRING, from sign # 3 and further, must not contain only '0'. Rune Rune, Please give the following a regex
Show full article (1.85Kb) · Show article thread
Here's another possibility for both regex and SAS function that seems to work, that is assuming that "where STRING starts with '00' or '01' <snip> and from sign #3 and further must not contain only '0'" additionally still wants the all-'0's string regardless. data myds2; input string $char11.; if _n_=1 then re=prxparse("/^(0+|0[01].*[^0].*)$/"); retain re; if prxmatch(re,string     

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Rune Runnestø
Date: Aug 31, 2007 12:23

It seems that I have not been precise enough when defining the criteria. I want to pick up records where STRING starts with '00' or '01'. '10' as a start is not meeting my criteria. The rest of STRING, from sign # 3 and further, must not contain only '0'. Rune "Guido T" <cymraegerict@GMAIL.COM> wrote in message news:46638d360708300723l60aee7d6w7f57efd6b33b2ab2@mail.gmail.com... Hi
Show full article (0.62Kb) · Show article thread
On Thu, 30 Aug 2007 07:09:54 -0700, =?iso-8859-1?q?Rune_Runnest=F8?= <rune@FASTLANE.NO> wrote: >So far noone has solved the problem to create MYDS2 correctly. > >Manuel suggested: > >data myds2; > if _n_ = 1 then re = prxparse('/^([1-9]\d|\d[1-9]).*[1-9]/'); > retain re; > input string $char11.; > if prxmatch(re, string) gt 0 then ok=1; else ok=0; > datalines; >00000000000     

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Ken Borowiak
Date: Aug 30, 2007 19:23

Hi Rune, Well ... if not verify(string,'0') then output myds1; else if string eq: '0' and compress(substr(string,2),'0') ne ' ' then output myds2; Would give the output using your test data, but that isn't what you say in the text one of the first two signs shall be a '0' so 10100000000 would be valid. Regards ++ Guido On 30/08/2007, Rune Runnest=F8 <rune@fastlane
Show full article (1.10Kb)
So far noone has solved the problem to create MYDS2 correctly. Manuel suggested: data myds2; if _n_ = 1 then re = prxparse('/^([1-9]\d|\d[1-9]).*[1-9]/'); retain re; input string $char11.; if prxmatch(re, string) gt 0 then ok=1; else ok=0; datalines; 00000000000 12345678912 01000000000 10000000000 11000000000 00100000000 01100000000 10100000000 11100000000 00000000010     

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Martin Mathis
Date: Aug 30, 2007 16:31

Hi, Here is the solution to both problem: The second regexp expresion '/^(0\d||\d0)(0+)$/' means: ^ = End of line 0\d = zero followed by any digit || = OR 0+ = zero 1 or more times $ = end of line. The resulting code is: data myds1; if _n_ = 1 then re = prxparse('/^0+$/'); retain re; input string $char11.; if prxmatch(re, string) gt 0 then ok=1;else ok=0; datalines
Show full article (4.29Kb)
    

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Rune Runnestø
Date: Aug 30, 2007 11:00

Show full article (2.31Kb)
    

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Chris Brooks
Date: Aug 30, 2007 08:48

Show full article (2.03Kb)
    

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Guido T
Date: Aug 30, 2007 07:23

Show full article (1.82Kb)
    

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: Rune Runnestø
Date: Aug 30, 2007 07:09

Show full article (1.28Kb) · Show article thread
    

Group: comp.softsys.sas · Group Profile · Search for 11000000000 in comp.softsys.sas
Author: J. Manuel Picaza
Date: Aug 30, 2007 04:09

Show full article (0.89Kb) · Show article thread