Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15896
| From | albert <alstopspam@stopaspam.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | find a space in a string, better fast solution? |
| Date | 2015-11-14 11:58 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n2744a$2v9$1@speranza.aioe.org> (permalink) |
If I have this xx/yy/178 234 38 the space are only between the numbers (if there are number) which is the most fast solution for know if after first number there is a space? 1 Find the space for all the string ? 2 find the space after last occurency / ? I need to do this: I can have this xx/yy/178 234 38 I have 2 spaces: do nothing xx/yy/200 No spaces: take the value 200 xx/yy/200 45 I have 1 space: do nothing xx/yy/ I have 1 space: do nothing because haven't the number If in the string I have one space I do nothing If I haven't space I need take first(and the unique) number
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
find a space in a string, better fast solution? albert <alstopspam@stopaspam.com> - 2015-11-14 11:58 +0100 Re: find a space in a string, better fast solution? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-11-14 13:08 +0100 Re: find a space in a string, better fast solution? Jerry Stuckle <jstucklex@attglobal.net> - 2015-11-14 09:18 -0500
csiph-web