TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Praveen Raveendran Pillai
NA
2.9k
1.4m
URL Replacement
Aug 19 2014 6:51 AM
Hi,
I need a solution for the following scenario.
I have two urls like:
string
browserURL
= "
/spm/kpi-setup/view/
{spmkpiinstance}/preventative-analysis";
string
tobeInjecetedURL
= "
/spm/kpi-setup/view
/40526/corrective-actions/";
My requirement:
Need to check if the
browserURL
is equivalent with
tobeInjecetedURL (highlighted in yellow).
i.e : Need to check if the url matches just before the curly braces.
if it matches then I need to replace the {spmkpiinstance} with value 40526.
Please suggest a generic solution for this .
Reply
Answers (
4
)
printing invoices in c#
c#