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

 Related 
Contents
Extraction
  %copy
  %left
  %leftback
  %numwords
  %right
  %rightback
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:
  Features
  Basic Usage
  Introduction to Aliases
  Introduction to Triggers
  Quick Filters
  Setting View Filters
  Manual Mapper configuration
  Map Object Properties
  Command Line
  Word Wrap
  General Parsing
  Pretty Printing
  Variables
  Tab Completion
  Speed Menu
  Editor Preferences
  Advanced Programming
  Using MXP
  Menu Reference
  Add Tab Word
  Command Reference
  #CW
  #MAPQUERY
  #MENU
  #NOMAP
  #PORTAL
  #REGEX
  #SCROLL
  #SEND
  #SUBSTITUTE
  #TAB
  #TRIGGER
  #TYPE
  #UNTAB
  #WRAP
  Function Reference
  %comactive
  %find
  %numwords
  %subchar
  %word
  Predefined Variables
  Pattern Matching
  Boolean
  Terms and Definitions
  Memo
  SpellCheck
  Pre-defined Actions
  Ruler
  Word
  DeleteNWord
  QuoteChar
  Regular Expressions
  ReadWord
  WriteWord
  Documentation Viewer
  FieldDefs
  Kind
  SelectWord
  OnKeyDown *
  OnKeyUp *
  AddWord
  RemoveWord
  Notify
  OnNotify
  %comactive
  %find
  %numwords
  %subchar
  %word
  #CW
  Display
  #MAPQUERY
  #NOINPUT
  #MENU
  #NOMAP
  #PORTAL
  #REGEX
  #SCROLL
  #SUBSTITUTE
  #TAB
  #TRIGGER
  #TYPE
  Removing Settings
  #UNTAB
  #WRAP
  Create/Modify Settings
  Introduction to Aliases
  Introduction to Triggers
  Feature Summary
  Editing a package
  Basic Usage
  Predefined Variables
  Pattern Matching
  Triggers
  Menus
  Extraction (strings)
  Quick Filters
  Setting View Filters
  Syntax Checking
  Manual Mapper configuration
  Map Object Properties
  Tab Completion
  Command line
  Spelling
  Word wrap
  Keyboard shortcuts
  -1: Introduction
  MXP
  0: For the Novice
  7: More Flow Control
  Multistate triggers
  %rgb
  Pattern Wizard
%word [[%word]] 
word

Syntax: %word(s,i,d)

return the ith word of string s, delimited by string d (if d is missing, a space is used as the word delimiter

Examples:

#SHOW %word("abc defg hijk lm",3)

displays:

hijk

#SHOW %word("This, is a, test.",2,", ")

displays:

is a
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net