Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 27-Nov-2006 14:12
User is offline View Users Profile Print this message


Manju Chechi

Posts: 15
Joined: 21-Nov-2006

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.
Report this to a Moderator Report this to a Moderator
 27-Nov-2006 17:30
User is offline View Users Profile Print this message


Kevin Tarling

Posts: 9
Joined: 8-Nov-2006

Report this to a Moderator Report this to a Moderator
 27-Nov-2006 17:33
User is offline View Users Profile Print this message


Kevin Tarling

Posts: 9
Joined: 8-Nov-2006

Report this to a Moderator Report this to a Moderator
 5-Dec-2006 22:23
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

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!).
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.