FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » String Replacement
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
String Replacement [message #172225] Sun, 06 February 2011 15:49 Go to previous message
Alec is currently offline  Alec
Messages: 2
Registered: February 2011
Karma:
Junior Member
I am not sure where to start on this on.

I have a string as follows '<text
identifier="3ecebe84-8ddd-475e-86ca-300b5298fc34">
<value><![CDATA[12345]]></value>'

The text identifier always remains the same ie. 3ece..... for each
article. The string is much longer containing several different
identifiers. I would like to be able to jump to the one shown, and
then extract the CDATA value shown after ie. 12345. The length of this
may change, so I need a way to extract the text between the second '['
and first ']' . I hope that makes sense.

Any advice would be greatly appreciated.

Alec
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP server tag help
Next Topic: An extremely large hash lookup mechanism
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 04:14:54 GMT 2024

Total time taken to generate the page: 0.04006 seconds