Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Extraction
  %copy
  %leftback
  %numwords
  %right
  %rightback
  %word
Function Reference
  %abs
  %additem
  %addkey
  %alarm
  %alias
  %ansi
  %array
  %arrget
  %arrhigh
  %arrset
  %ascii
  %average
  %begins
  %bitand
  %bitnot
  %bitor
  %bitxor
  %btncol
  %btnenable
  %btnimage
  %case
  %char
  %charcomment
  %charnotes
  %class
  %clip
  %color
  %colorname
  %comactive
  %comcreate
  %comget
  %comset
  %concat
  %copy
  %count
  %countlist
  %crtonl
  %db
  %dbget
  %dblist
  %dbmax
  %dbmin
  %dde
  %ddeclose
  %ddemacro
  %ddeopen
  %ddepoke
  %defined
  %delete
  %delitem
  %delkey
  %delnitem
  %destroom
  %dice
  %diceavg
  %dicedev
  %dicemax
  %dicemin
  %doorname
  %dups
  %ends
  %eval
  %exec
  %expand
  %expanddb
  %expandlist
  %filesize
  %find
  %float
  %format
  %getglobal
  %grep
  %gsl
  %handle
  %if
  %insert
  %int
  %inwalk
  %isfloat
  %iskey
  %ismember
  %isnumber
  %item
  %lastdir
  %left
  %leftback
  %len
  %literal
  %look
  %lower
  %match
  %mapfilter
  %maplocked
  %mapquery
  %mapvnum
  %max
  %mcp
  %min
  %mod
  %mss
  %nextdir
  %nltocr
  %norm
  %null
  %number
  %numbuttons
  %numitems
  %numkeys
  %numparam
  %numrec
  %numrooms
  %numwords
  %numzones
  %param
  %parsemode
  %pathcompress
  %pathexpand
  %pathfrom
  %pathreverse
  %pick
  %pop
  %portal
  %portalenabled
  %pos
  %prompt
  %proper
  %push
  %query
  %quote
  %random
  %read
  %regex
  %remove
  %repeat
  %replace
  %replaceitem
  %reversedir
  %right
  %rightback
  %roomcol
  %roomcom
  %roomcontents
  %roomcost
  %roomdesc
  %roomexit
  %roomflags
  %roomid
  %roomkey
  %roomkind
  %roomlink
  %roomload
  %roommob
  %roommode
  %roomname
  %roomnote
  %roomnum
  %roomobj
  %roomportal
  %roomvnum
  %roomzone
  %round
  %setglobal
  %sort
  %sqrt
  %state
  %stdev
  %string
  %stripansi
  %stripq
  %subchar
  %subregex
  %sum
  %time
  %trigger
  %trim
  %trimleft
  %trimright
  %upper
  %viewrec
  %walk
  %walkactive
  %walkconfirm
  %walkmode
  %walkroom
  %window
  %word
  %write
  %yesno
  %zonename
  %zonenum
  %zonevnum
Related Links:
  SQLStore
  POP MessageStore
  %pref
  Features
  Getting Started
  Quick Start
  Basic Usage
  User Interface Overview
  Creating a Character
  Character Database
  Character Database
  Scripting
  Introduction to Classes
  Introduction to Buttons
  Introduction to Multiplaying
  Debugging Scripts
  Introduction to the Database
  Creating a Database
  Database Views
  Adding Data to a Database
  Quick Filters
  Programming the Database
  Introduction to Mapping
  Configuration
  Mapper Wizard Offline
  Creating and Editting
  Creating a Map Automatically
  Editing your Map
  Map Object Properties
  Using Zones
  Advanced Mapping
  Preferences
  General
  User Interface
  Script Parser
  Syntax Editor
  Colors
  Connection
  Directories
  Fonts
  Sounds
  MSP Settings
  MXP
  Windows
  Settings
  Triggers
  Buttons
  Button Position
  Advanced Button
  Advanced Topics
  Editor
  Advanced Programming
  Using MXP
  References
  Menu Reference
  Command Wizard
  Importing Settings
  #BUTTON
  #COLOR
  #HISTORY
  #MAKEWINDOW
  #T?
  #TIMER
  Function Reference
  %alarm
  %begins
  %expand
  %format
  %left
  %null
  %right
  Comparisons
  Visual Object Reference
  Common Properties
  Data Types
  Left *
  Align *
  AutoLeft *
  AutoTop *
  DeltaLeft *
  Visible
  Anchors
  AutoSize
  Align
  HeaderHAlign
  Image
  Navigator
  AllowClose
  DockIndex
  DockTo
  TabOrientation
  TabStyle
  ShowIndicator
  Pre-defined Actions
  LeftMargin
  LeftIndent
  Splitter
  Align
  Edit
  LabelPosition
  String Library
  Left
  Format
  LeftBack
  Pad
  Math Library
  PadRight
  Core Library
  Web Library
  XML Library
  xmlNode
  File Library
  Web Browser Demo
  Database Demo
  Calculator Demo
  IMAP Email Demo
  zMUD Map Database Demo
  Web Form Demo
  Key Features
  Tutorial - Web browser (Part 1)
  Documentation Viewer
  Alignment
  Tutorial - Web browser (Part 2)
  COM Objects
  Layout
  Alignment
  BeginGroup
  Layout
  Non-Visual Objects
  Alignment
  Align
  DockedLeft
  FloatLeft
  NotDocking
  RotateWhenVertical
  SizeGrip
  Align
  FindText
  Life Demo
  ImageList
  HTML in Labels
  Indent
  ParagraphAlign
  Borders
  Text styles
  Paragraph Style
  Adding Text
  Selection
  Navigating
  Items
  Tables
  Table Items
  Methods
  Date Library
  Common Events
  OnKeyDown *
  OnKeyUp *
  OnMouseDown *
  OnMouseUp *
  OnMouseMove *
  OnMouseWheelDown *
  OnMouseWheelUp *
  OnMouseWheel *
  OnCellClick
  Template
  Syntax Highlighting
  AddQuotes
  BorderSides
  XSL
  LeftMargin
  Request object
  Response Object
  Session Object
  Grid
  Edit Styles
  HTTP Web Server Demo
  CD Autostart program
  FloatLeft
  Feature Reference
  Shared Package Library
  Package Editor
  Function Reference
  %alarm
  %begins
  %expand
  %format
  %left
  %leftback
  %null
  %right
  %rightback
  Command Reference
  #BUTTON
  #COLOR
  #HISTORY
  #MAKEWINDOW
  Triggers
  #T?
  #TIMER
  Changes for zMUD users
  New Functions
  Using the Help System
  Getting Started
  Introduction to Aliases
  Introduction to Classes
  Introduction to Buttons
  Introduction to Multiplaying
  User Interface
  Feature Summary
  Create a new package
  Windows
  Editing a package
  Copy an existing package
  Quick Start
  Basic Usage
  Sessions
  Editing Variables
  Editing Buttons
  Buttons
  Scripting Reference
  Extraction (strings)
  Settings
  Creating a Database
  Database Views
  Adding Data to a Database
  Quick Filters
  Programming the Database
  Creating and Editing
  Using Zones
  Advanced Mapping
  Mapper Wizard Offline
  Editing your Map
  Map Object Properties
  Introduction to Events
  Preferences
  User Interface
  Colors
  Buttons
  Session
  Scripting
  Network
  ANSI Color
  MSP
  MXP
  Simutronics
  Connection
  Schemes
  Advanced menu
  Navigating the Map
  Using Views
  Zones and Servers
  Shortest Path
  Searching
  Modifying the database
  Keyboard shortcuts
  Keyboard shortcuts
  MXP
  2: Words
  7: More Flow Control
  %bitshift
  Script Debugger
  zs Object
  Aliases
  Functions
  Triggers
  Events
  Paths
  Variables
  Menus
  Buttons
  Status bars
  Classes
  Modules
  New Mapper
  Script Wizard
%left [[%left]] 
left

Syntax: %left(s,n)

return the leftmost n characters of the string s

Examples:

#SHOW %left(0815,2)

displays: 08

#SHOW %left("abc~~def",4)

displays

abc~

memory aid:

%left(anystring,@anynumber) plus %right(anystring,@anynumber) is 'anystring'
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net