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
  • Left
Left
Extracts a specified number of characters from a string, starting with the first character on the left.
Syntax
Left(s, n)
Parameters
 
Parameter
Description
s
The string to extract from.
n
The number of characters to extract.
If the number of characters to extract is greater than the length of the string, the function returns the whole string.
If the number of characters to extract is 0 or less, the function returns the empty string.
Examples
The following expressions are examples of using the Left function:
 
Expression
Returns
Left(“ABCDEFGH”, 3)
ABC
Left(“Tony Blue”, 5)
“Tony ”
Left(Telephone[0], 3)
The first three characters of the first occurrence of Telephone.
Left(Rtrim(Last_Name), 3)
The first three characters of Last_Name.
See also “Rtrim”.

Left

Livecycle > Left

  • 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