This is a migrated thread and some comments may be shown as answers.

Extracting part of text

1 Answer 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Noreen
Top achievements
Rank 1
Noreen asked on 21 Feb 2011, 12:49 PM
Hi

Is it possible to use part of some extracted text, I can extract a confirmation message which contains the reference I need but I would like to use just the reference in another search.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 21 Feb 2011, 08:07 PM
Hi Noreen,

You can adjust or trim the extracted value in a coded step using code something like this:

SetExtractedValue("bugNumber", GetExtractedValue("bugNumber") + "additional data");

This sample simply concatenates a string to the extracted value. Using similar approach you can trim or adjust the extracted value anyway you want with your own code.

Kind regards,
Cody
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Noreen
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or