Toon posts:

[PHP] na bepaald teken rest v/d string afknippen

Pagina: 1
Acties:
  • 50 views sinds 30-01-2008

Verwijderd

Topicstarter
Als ik bv deze string heb:

SiS NIC SISNIC</td>
<td " " width "100">
<a " " " ? net0 1">
0.03 GB</a>
</td>
<td " R" width "100">
<a " R" " ? net0 1">
1.18 GB</a>
</td>
<td " " width "100">
<a " " " ? net0 H">
10.02 GB</a>
</td>
<td " R" width "100">
<a " R" " ? net0 D">
73.48 GB</a>
</td>
<td " " width "100">
<a " " " ? net0 D">
73.48 GB</a>

Wil ik alles vanaf </td> van de string afknippen, dit in een nieuwe string gooien en die printen.
Hoe de ik dat?
Deze string is al gestript met ereg_replace.

  • TwoR
  • Registratie: Augustus 2002
  • Laatst online: 27-05 11:19

TwoR

Gekleurde stippen

ja kan met de functie split() op td splitten

  • D2k
  • Registratie: Januari 2001
  • Laatst online: 09-01 11:25

D2k

regex. www.php.net voor uitleg.

Doet iets met Cloud (MS/IBM)


  • curry684
  • Registratie: Juni 2000
  • Laatst online: 12-05 22:23

curry684

left part of the evil twins

Mjah dit is wel dermate basic dat het niet echt een topic waard is. Hobby eens wat rond op www.php.net inderdaad :)

Professionele website nodig?


Dit topic is gesloten.