but the output i am getting is URL = PPVVarianceReport.aspx?viewby=CG-R-PL&CMGP=10&CMGPDESC=QkNTIFNwZWNpZmlj;
how can i remove amp;from output string??
regards RPThis message has been edited. Last edited by: Kerry,
webfocus 7.6.9 windows XP Excel
November 06, 2009, 11:28 AM
Doug
Check out CTRAN Here's what I got from that:
BEFORE ... Report.aspx?viewby=CG-R-PL^CMGP=10^CMGPDESC=QkNTIFNwZWNpZmlj
AFTER .... Report.aspx?viewby=CG-R-PL&CMGP=10&CMGPDESC=QkNTIFNwZWNpZmlj
I hope this helps...
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
November 06, 2009, 04:47 PM
susannah
replace a 94 with a 38 that's what you need to know for CTRAN function. 94 is the bytval for the ^ and 38 for the &. ARe you saying you want to now remove the & ?? I don't understand your question.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Change the 94, an up-carrot, to a 38, an ampersand, right? (or, maybe trade in your 22 for a 357?) So anyway, I presented the Good old CTRAN. I believe that should do the trick, don't you? I don't want to do pass on the code, where's the learning factor in that? I just want to pointing RP in the right direction...
I have a string in procedure which i need to replace '^' with '&'.
then RP goes on to say
quote:
how can i remove amp;from output string??
which beckons the question: Why change the "^" to a "&" in the first place?
How about CTRAN and change the 94 to a zero?:
BEFORE ... Report.aspx?viewby=CG-R-PL^CMGP=10^CMGPDESC=QkNTIFNwZWNpZmlj
AFTER .... Report.aspx?viewby=CG-R-PLCMGP=10CMGPDESC=QkNTIFNwZWNpZmlj
November 09, 2009, 01:16 AM
rp
Hi All first of all Sorry for making the confusion.
Actually in my output string where ever '&' is there its being replaced and shown as & amp ;.(that is why i asked, how can i remove amp;from output string??) . when i copy pasted the output the post window converted ' & amp ;' into '&' which made the confusion.
webfocus 7.6.9 windows XP Excel
November 09, 2009, 08:34 AM
Tom Flynn
Did you try STRREP? When putting code on this Forum, you wrap them "within" the RED </> code tags, upper-right on the toolbar. Then, click Options on the lower left and check Disable HTML...