Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does there exist a function replace?

Status
Not open for further replies.

fanch

Programmer
Joined
Jan 10, 2003
Messages
3
Location
FR
Hi,

Does there exist a function replace with Cognos script
or equivalent?

Thanks
 
Not that I'm aware of. You haven't made it clear what/how you what to replace, but in general, I would use InStr() which "Returns the character position of the first occurrence of one string within another string". Once you've done that you could use Mid() to do the replace.

Simon Rouse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top