Bluehost.com Web Hosting $6.95

string

This is a discussion on string within the PHP General forums, part of the PHP Programming Forums category; I'm parsing some content I get back from a website, and I for most of the cases I get ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2003
php-general@mccullough-net.com
 
Posts: n/a
Default string

I'm parsing some content I get back from a website, and I for most of the
cases I get the infromation back and everything is formatted correctly. There
is this one part where I get back a bunch of crap on the end.

example:

</span></TD> <TD width="10">&nbsp;</TD>
</TR>

One thing I have going for me, beside my dashing good looks, is I know exactly
the length of what I am supposed to get back.
Name|17|5|7|12|26|8|4|0|2|0|40|12.50|3|33.30|19 it should 16 pieces. Any
thoughts on how I can get it to cut off at the 19, one thing that I should say
is 19 is value that can change.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0