Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] rplacing characters in the strig

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] rplacing characters in the strig
 Login/Join
 
Gold member
posted
Hi ,

I have a string like 'RAGHU %26% RAM' i need to change 'RAGHU & RAM' how to do like this.
I tried with replace function.
But i am facing problem with syntax.Can any body how to replace the above string.


Thanks,
Raghu

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.7
Windows
Excel, PDF, HTML
 
Posts: 56 | Registered: February 04, 2010Report This Post
Gold member
posted Hide Post
Raghu,
You could try below. It worked while I was trying to do from MRE.

 
-SET &NAMEVAL = 'RAGHU %26% RAM';
-SET &NAMEREP = STRREP(&NAMEVAL.LENGTH,&NAMEVAL,4,'%26%', 1,'&|',&NAMEVAL.LENGTH, 'A&NAMEVAL.LENGTH');
-TYPE &NAMEREP


Regards,
Kasi Krishnan
WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000.
OS: Windows & AIX
 
Posts: 71 | Registered: November 20, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] rplacing characters in the strig

Copyright © 1996-2020 Information Builders