Hi all
i have some text like this
Quote:
Host/PCI; Bridge Device 8086 2970 [Intel] no device name found: no device description found // SubIDs 17aa 1015 Legend: no-name
|
i need to truncate the text like this and i need to put this truncated text in the gtk label..the output shown like this.
label1->
Host/PCI; Bridge Device
label2->
VID: x8086 Intel Corporation
label3->
DID:x2970 no device name found: no device description found
label4->
SubVID: x17AA legend
label5->
SubID: x1015 no-name
the above text are truncated from "
Host/PCI; Bridge Device 8086 2970 [Intel] no device name found: no device description found // SubIDs 17aa 1015 Legend: no-name"
ans also i had some text like this "
1015 17AA <2C : SubID SubVendorID"
i need to get the text "1015 17AA".
the output should be
"x101517AA"
any help it should be appreciated