• Toggle theme

Directory Opus Manual

User Tools

  • Toggle theme
  • Log In

Site Tools

You are here: Introduction » Reference » Evaluator Functions » Left

Sidebar

  • Copyrights
  • Licenses
  • Acknowledgements
  • Introduction
  • Basic Concepts
  • File Operations
  • FTP
  • Additional Functionality
  • Preferences
  • Customize
  • File Types
  • Scripting
  • Evaluator
  • Reference
    • Wildcard Reference
    • Status Bar Codes
    • Command Reference
    • Scripting Reference
    • Evaluator Functions
      • AbortFunc
      • Abs
      • Age
      • Arg
      • As
      • Asc
      • Atan
      • Capitalize
      • Cbrt
      • Ceil
      • Chr
      • Clip
      • ClipFormat
      • Concat
      • Cos
      • Count
      • DateDiff
      • DatePart
      • DegToRad
      • DisplayName
      • DumpVars
      • Elapsed
      • Exists
      • FileCount
      • FileExt
      • FilePart
      • FindWindow
      • Floor
      • Format
      • Hypot
      • InStr
      • IsAlpha
      • IsChecked
      • IsDigit
      • IsDir
      • IsEnabled
      • IsFile
      • IsLower
      • IsParent
      • IsPath
      • IsPunct
      • IsSelected
      • IsSet
      • IsSpace
      • IsUpper
      • KeyDown
      • LanguageStr
      • LCase
      • Left
      • Len
      • MakeLegal
      • Match
      • Max
      • Mid
      • Min
      • Now
      • Output
      • Parent
      • PathType
      • Pow
      • RadToDeg
      • RecycleBin
      • RegEx
      • RegExS
      • Replace
      • Resolve
      • Reverse
      • Right
      • Root
      • Rnd
      • Round
      • Running
      • Select
      • Sin
      • Space
      • Stem
      • StrCmp
      • String
      • Sqrt
      • Swap
      • SysInfo
      • Tan
      • Trim
      • Truncate
      • TypeOf
      • UCase
      • URLEncode
      • Val
    • DOpusRT Reference
    • Metadata Keywords
    • Textual Filters
    • Icon Sets
    • Rename Macro Language
  • New In Directory Opus 13
reference:evaluator:left

Left(
     string:string,
     int:length
)
→ string

Arguments

string

Input string to return the left portion of.

length

Length of string to return.

Return value

Specified portion of the string.

Description

Returns length characters from the left side of string.

Example:

Output( Left("Hello World", 5) );
--> Hello

See also:
Mid
Right