Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Function

Library/Class:

Utilities



Function ReplaceStr() As

ReplaceStr (SearchStr As String, FindStr As String, ReplaceStr As String) As String

This function searches the SearchStr for any occurrence of FindStr and replaces it with ReplaceStr.

Parameters:

    SearchStr (String)
      The string that is being searched for the occurrence of FindStr.
    FindStr (String)
      The string that is being searched for in SearchStr.
    ReplaceStr (String)
      The string that replaces FindStr where ever it occurs in SearchStr.
    Return Value:
      String.

      Sample:
       



        Dim ws As New NotesUIWorkspace
      Dim doc As NotesDocument
      Dim newstr As String

      Set doc = ws.CurrentDocument.Document

      newstr = ReplaceStr(doc.NamesList(0),”;”,”,”)

      Call MessageDialog(newstr,0,”New String”)
       

 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024