![]() |
Telelogic DOORS (steve huntington) | ![]() |
Topic Title: extracting attribute name from Buffer that holds multiple name-value pairs.. Topic Summary: Created On: 27-Nov-2006 14:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a Buffer temp which holds three Attribute names and their values as shown below:
"Object Text=New Object Text☺Cost=9.01128☺Object Heading=Introduction☺" this Buffer gets these values from a jsp Page through a enumeration function. from this i need to extract attribute names("Object Text","Cost","Object Heading") to perform a check. the code that i think should work fine is attached here: Here I need to replace the regexp endMark "\b" by a smily symbol(u can see it between Text ☺ Cost) that seperates attribute "Object Text" from attribute "Cost" can ne body tell me wat dis symbole is and how can i handle it in RegExp to extract attribute name from the above Buffer. |
|
![]() |
|
![]() |
|
|
|
![]() |
|
![]() |
|
|
|
![]() |
|
![]() |
|
It appears to be Unicode code point U+263A which is represented in UTF-8 by hex: e2 98 ba, but how you create Unicode strings in DXL, and whether DXL's regular expression processor can handle them I do not know (only got v5.2 here!).
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.