Server Side data split

Server Side data split

acidburn78acidburn78 Posts: 10Questions: 6Answers: 0

i have a Problem with server side scripting.

My script does a query on one column the json response looks like
{EVDEVICE: "DVD/CD-ROM-Laufwerke::IDE Bus::HP CDDVDW TS-L633R ATA DEVICE"}

I would like to split the data after the "::" in to three columns. How can i do that?

I'm using the Server Side HTTP Post example

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 62,315Questions: 1Answers: 10,225 Site admin
    Answer ✓

    I would suggest using a renderer. You would use three different renderers, all basically doing the same thing (splitting the data), but returning a different index from the split array.

    Allan

  • acidburn78acidburn78 Posts: 10Questions: 6Answers: 0

    Thx allan,

    can you give me a little Code snippet how to do this??

    That would be really nice!

This discussion has been closed.