Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • FormCalc User Reference
  • String Functions
  • Replace
Replace
Replaces all occurrences of one string with another within a specified string.
Syntax
Replace(s1, s2 [, s3 ])
Parameters
 
Parameter
Description
s1
A source string.
s2
The string to replace.
s3 (Optional)
The replacement string.
If you do not include a value for s3, or if s3 is null, the function uses an empty string.
Examples
The following expressions are examples of using the Replace function:
 
Expression
Returns
Replace(“Tony Blue”, “Tony”, “Chris”)
Chris Blue
Replace(“ABCDEFGH”, “D”)
ABCEFGH
Replace(“ABCDEFGH”, “d”)
ABCDEFGH
Replace(Comments[0], “recieve”, “receive”)
Correctly updates the spelling of the word receive in the first occurrence of Comments.

Replace

Livecycle > Replace

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • FormCalc User Reference
                    • Introducing FormCalc
                      • Language Reference
                        • Arithmetic Functions
                          • Date and Time Functions
                            • Financial Functions
                              • Logical Functions
                                • Miscellaneous Functions
                                  • String Functions
                                    • About string functions 
                                    • At
                                    • Concat
                                    • Decode
                                    • Encode
                                    • Format
                                    • Left
                                    • Len
                                    • Lower
                                    • Ltrim
                                    • Parse
                                    • Replace
                                    • Right
                                    • Rtrim
                                    • Space
                                    • Str
                                    • Stuff
                                    • Substr
                                    • Uuid
                                    • Upper
                                    • WordNum
                                  • URL Functions
                                • Menu, Command, Toolbar, and Dialog Box Reference
                                  • Sample Form Snippets and Forms
                                    • Glossary
                                    • Copyright and trademark notices

                                    Livecycle

                                    • de
                                    • en
                                    • fr
                                    Powered by Helpmax Guide Source