The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have a string.
Code:
2 585 1083 1202 1248 1380 3405 3467 4851 6333 6762 7327 7466 7663 8044 8342 8614 9211 9835 9905 9916 10054 10057 10194 10544 10607 10918 11327 11407 11727 12675 12886 12991 13324 13330 13380 13652 13668 13852 13883 14443 14576 14592 15263 15376 15879 15934 16367 16673 16763 16783 16789 16945 17381 17457 17537 17874 17918 17957 18246 18712 19145 20180 20572 20583 20751 20807 21101 21530 21590 21696 21868 22063 22182 23020 23473 23818 24145 24181 24212 24377 24722 24945 25019 25367 25445 25528 25641 25711 25818 26040 26171 26530 26564 26734 26876 27479 27881 27968 27999 29188 29512 30265 30322 30576 30773 31478 31563 31593 31892 31897 32786 33169 33599 33824 33840 34110 34227 34635 34668 35052 35069 35124 35125 35272 35422 35505 35911 36162 37445 37962 38293 38572 38745 39582 39997 40004 40492 41167 41244 42088 42340 42937 43292 43427 43659 43898 44123 44319 44367 44464 44811 45057 45140 45327 45697 46036 46827 47841 47874 47893 48263 48375 48438 48684 48781 48806 48910 49019 49106 49299 49531 49674 49863 49966 50110 50379 50492 50662 50809 50856 50883 51174 51211 51329 52172 52235 52330 52490 54159 54633 55287 55610 55887 56713 57101 57365 57705 57848 58849 59197 59726 61439 62520 62555 62891 63309 63389 63520 63642 64667 65708 67689 67834 67960 67974 68889 69186 69230 69232 69692 69908 70413 70629 71260 71291 72664 72724 73030 73289 74109 75753 79528 81468 81768 82372 83792 85401 85604 95369 97946 109578 113179 114843 119899 120407 140619 149459 149757 155413 155948 156087 157245 157333 158060 178043 178247 179746 184513 188128 190212 191488 192843 193537 194629 203024 29847 IE: remove JUST "20180" or JUST "2." How can I do this? str_replace for ... say "2" will take 2 out of the entire string. Ideas? --------------- Added [DATE]1208835207[/DATE] at [TIME]1208835207[/TIME] --------------- Update: Anyone see any problem with this: PHP Code:
|
#2
|
|||
|
|||
![]()
Mightbe easier to convert this to an array first:
$myarray = explode(" ", $mystring); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|