Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15888

extract values from string

From albert <alstopspam@stopaspam.com>
Newsgroups comp.lang.php
Subject extract values from string
Date 2015-11-13 16:22 +0100
Organization Aioe.org NNTP Server
Message-ID <n24v7u$rol$1@speranza.aioe.org> (permalink)

Show all headers | View raw


if I have this
xx/yy/178 1771 80 279
or
xx/yy/122
or
xx/yy/

how can I extract numbers separated by a space and insert in one array?
in the case I know the initial two values
xx/yy/


and when I not know the initial two values xx/yy/,example I can also to 
have p/c/  or others value


........................
other sinilar
extrct from
pppp/aaaa/$    this pppp/aaaa
think is necessary to extract everything except the last 2 terms;
is so and how

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

extract values from string albert <alstopspam@stopaspam.com> - 2015-11-13 16:22 +0100
  Re: extract values from string Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-13 11:46 -0500
    Re: extract values from string albert <alstopspam@stopaspam.com> - 2015-11-13 20:28 +0100
      Re: extract values from string Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-13 15:53 -0500
        Re: extract values from string albert <alstopspam@stopaspam.com> - 2015-11-14 00:29 +0100
          Re: extract values from string Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-13 20:10 -0500
            Re: extract values from string albert <alstopspam@stopaspam.com> - 2015-11-14 11:39 +0100
              Re: extract values from string Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-14 08:58 -0500
                Re: extract values from string Matthew Carter <m@ahungry.com> - 2015-11-14 23:20 -0500
                Re: extract values from string Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-15 09:47 -0500
                Re: extract values from string Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-17 13:02 +0000

csiph-web