String in ECMAScript 262

Basic object.

Inherits from:

Instance Properties

name type description
prototype Object The prototype for a class. [from Object]
constructor Object A reference to the constructor class for the current object instance. [from Object]
length Number (read only) The number of characters in the string.

Instance Methods

name returns description
toLocaleString() String For most objects, the same as toString() unless explicitly overridden. [from Object]
valueOf() String Returns the internal this value of the object. [from Object]
hasOwnProperty() Boolean Determines if the object/instance itself has the named property or method. [from Object]
isPrototypeOf() Boolean Determines if the calling object prototype is in the inheritance chain for the supplied argument. [from Object]
propertyIsEnumerable() Boolean Determines if the object/instance itself has a property or method of the supplied name which will appear in a for (prop in obj) enumeration. [from Object]
fromCharCode() String Create a new string from a series of Unicode character values.
charCodeAt() Number Return the Unicode value of the character at a particular index in the string.
concat() String Append one or more strings to the current string, and return the result.
charAt() String Return the character at a particular index in the string.
lastIndexOf() String The offset of a substring within the string.
localeCompare() Number Compare the string to the argument in the current locale.
replace() String Find and replace values in a string, and return the changed string.
slice() String Return a specified subsection of the string.
split() Array Separate the string into pieces and return an array of the resulting substrings.
search() Number Find the offset of a regular expression within the string.
toLowerCase() String Return a lowercase version of the string.
toUpperCase() String Return an uppercase version of the string.
toLocaleLowerCase() String Return a locale-specific lowercase version of the string.
toLocaleUpperCase() String Return a locale-specific uppercase version of the string.
toString() String Returns a string representation of the object. [from Object]
indexOf() String Find the offset of a substring within the string.
match() Array Run the supplied regular expression against the string and return an array of the results.
substring() String Return a specified subsection of the string.

Description

Strings may be constructed using the var foo = new String('string content') constructor, or simply the string literal var foo = 'string content'. Strings defined using a string literal cannot have custom properties, whereas strings defined using the new String("...") constructor can:

var msg1 = "Hello World";
var msg2 = new String("Hello World");
msg1.foo=99;
msg2.foo=99;
// ** msg1.foo is undefined
// ** msg2.foo is 99

Strings may be delimited by either " or ' in pairs; there is no difference between the two other than which is convenient for the particular application. Either character may be used inside such a string by escaping it with a backslash (\).

var msg1 = "Hello World!";
var msg2 = 'Hello World';
var storeName = "Gavin's House of Chips";
var nickName = 'Gavin "The Burninator" Kistner';
var quote = "Did he really say, \"Bob's your uncle?\"";

The shortest (albeit perhaps not the most clear) way of converting any other object type into a string is to concatenate an empty string onto the object. Doing so implicitly calls the toString() method of that object:

var myAge=12;
var myAgeAsString = myAge+"";

Properties that are a String

name object description
aLink [html] HTMLBodyElement
background [html] HTMLBodyElement
bgColor [html] HTMLBodyElement
link [html] HTMLBodyElement
text [html] HTMLBodyElement
vLink [html] HTMLBodyElement
name [html] HTMLFormElement
acceptCharset [html] HTMLFormElement
action [html] HTMLFormElement
enctype [html] HTMLFormElement
method [html] HTMLFormElement
target [html] HTMLFormElement
type [html] HTMLSelectElement (read only)
value [html] HTMLSelectElement
name [html] HTMLSelectElement
label [html] HTMLOptGroupElement
text [html] HTMLOptionElement (read only)
label [html] HTMLOptionElement
value [html] HTMLOptionElement
defaultValue [html] HTMLInputElement
accept [html] HTMLInputElement
accessKey [html] HTMLInputElement
align [html] HTMLInputElement
alt [html] HTMLInputElement
name [html] HTMLInputElement
src [html] HTMLInputElement
type [html] HTMLInputElement
useMap [html] HTMLInputElement
value [html] HTMLInputElement
defaultValue [html] HTMLTextAreaElement
accessKey [html] HTMLTextAreaElement
name [html] HTMLTextAreaElement
type [html] HTMLTextAreaElement (read only)
value [html] HTMLTextAreaElement
accessKey [html] HTMLButtonElement
name [html] HTMLButtonElement
type [html] HTMLButtonElement (read only)
value [html] HTMLButtonElement
accessKey [html] HTMLLabelElement
htmlFor [html] HTMLLabelElement
accessKey [html] HTMLLegendElement
align [html] HTMLLegendElement
type [html] HTMLUListElement
type [html] HTMLOListElement
type [html] HTMLLIElement
align [html] HTMLDivElement
align [html] HTMLParagraphElement
align [html] HTMLHeadingElement
cite [html] HTMLQuoteElement
clear [html] HTMLBRElement
color [html] HTMLBaseFontElement
face [html] HTMLBaseFontElement
color [html] HTMLFontElement
face [html] HTMLFontElement
size [html] HTMLFontElement
align [html] HTMLHRElement
size [html] HTMLHRElement
width [html] HTMLHRElement
cite [html] HTMLModElement
dateTime [html] HTMLModElement
accessKey [html] HTMLAnchorElement
charset [html] HTMLAnchorElement
coords [html] HTMLAnchorElement
href [html] HTMLAnchorElement
hreflang [html] HTMLAnchorElement
name [html] HTMLAnchorElement
rel [html] HTMLAnchorElement
rev [html] HTMLAnchorElement
shape [html] HTMLAnchorElement
target [html] HTMLAnchorElement
type [html] HTMLAnchorElement
name [html] HTMLImageElement
align [html] HTMLImageElement
alt [html] HTMLImageElement
border [html] HTMLImageElement
longDesc [html] HTMLImageElement
src [html] HTMLImageElement
useMap [html] HTMLImageElement
code [html] HTMLObjectElement
align [html] HTMLObjectElement
archive [html] HTMLObjectElement
border [html] HTMLObjectElement
codeBase [html] HTMLObjectElement
codeType [html] HTMLObjectElement
data [html] HTMLObjectElement
height [html] HTMLObjectElement
name [html] HTMLObjectElement
standby [html] HTMLObjectElement
type [html] HTMLObjectElement
useMap [html] HTMLObjectElement
width [html] HTMLObjectElement
name [html] HTMLParamElement
type [html] HTMLParamElement
value [html] HTMLParamElement
valueType [html] HTMLParamElement
align [html] HTMLAppletElement
alt [html] HTMLAppletElement
archive [html] HTMLAppletElement
code [html] HTMLAppletElement
codeBase [html] HTMLAppletElement
height [html] HTMLAppletElement
name [html] HTMLAppletElement
object [html] HTMLAppletElement
width [html] HTMLAppletElement
name [html] HTMLMapElement
accessKey [html] HTMLAreaElement
alt [html] HTMLAreaElement
coords [html] HTMLAreaElement
href [html] HTMLAreaElement
shape [html] HTMLAreaElement
target [html] HTMLAreaElement
text [html] HTMLScriptElement
htmlFor [html] HTMLScriptElement
event [html] HTMLScriptElement
charset [html] HTMLScriptElement
src [html] HTMLScriptElement
type [html] HTMLScriptElement
align [html] HTMLTableElement
bgColor [html] HTMLTableElement
border [html] HTMLTableElement
cellPadding [html] HTMLTableElement
cellSpacing [html] HTMLTableElement
frame [html] HTMLTableElement
rules [html] HTMLTableElement
summary [html] HTMLTableElement
width [html] HTMLTableElement
align [html] HTMLTableCaptionElement
align [html] HTMLTableColElement
ch [html] HTMLTableColElement
chOff [html] HTMLTableColElement
vAlign [html] HTMLTableColElement
width [html] HTMLTableColElement
align [html] HTMLTableSectionElement
ch [html] HTMLTableSectionElement
chOff [html] HTMLTableSectionElement
vAlign [html] HTMLTableSectionElement
align [html] HTMLTableRowElement
bgColor [html] HTMLTableRowElement
ch [html] HTMLTableRowElement
chOff [html] HTMLTableRowElement
vAlign [html] HTMLTableRowElement
abbr [html] HTMLTableCellElement
align [html] HTMLTableCellElement
axis [html] HTMLTableCellElement
bgColor [html] HTMLTableCellElement
ch [html] HTMLTableCellElement
chOff [html] HTMLTableCellElement
headers [html] HTMLTableCellElement
height [html] HTMLTableCellElement
scope [html] HTMLTableCellElement
vAlign [html] HTMLTableCellElement
width [html] HTMLTableCellElement
cols [html] HTMLFrameSetElement
rows [html] HTMLFrameSetElement
frameBorder [html] HTMLFrameElement
longDesc [html] HTMLFrameElement
marginHeight [html] HTMLFrameElement
marginWidth [html] HTMLFrameElement
name [html] HTMLFrameElement
scrolling [html] HTMLFrameElement
src [html] HTMLFrameElement
align [html] HTMLIFrameElement
frameBorder [html] HTMLIFrameElement
height [html] HTMLIFrameElement
longDesc [html] HTMLIFrameElement
marginHeight [html] HTMLIFrameElement
marginWidth [html] HTMLIFrameElement
name [html] HTMLIFrameElement
scrolling [html] HTMLIFrameElement
src [html] HTMLIFrameElement
width [html] HTMLIFrameElement
typename [pshop] ArtLayers (read only)
source RegExp (read only) The regular expression expressed as a string.
version [anark] Player (read only) Version number.
containerName [anark] Player (read only) Player type.
containerVersion [anark] Player (read only) Container version number.
platform [anark] Player (read only) Mac/Win OS.
platformVersion [anark] Player (read only) OS version.
name [pshop] Application (read only) The application's name
scriptingVersion [pshop] Application (read only) The version of the Scripting interface
serialNumber [pshop] Application (read only) The serial number of Photoshop
typename [pshop] Application (read only)
version [pshop] Application (read only) The version of Adobe Photoshop application
typename [pshop] ActionDescriptor (read only)
typename [pshop] ActionList (read only)
typename [pshop] ActionReference (read only)
name [pshop] ArtLayer the name of the layer
typename [pshop] ArtLayer (read only)
typename [pshop] BMPSaveOptions (read only)
patternName [pshop] BitmapConversionOptions (only valid for 'custom pattern' conversions)
typename [pshop] BitmapConversionOptions (read only)
typename [pshop] CMYKColor (read only)
name [pshop] Channel the channel's name
typename [pshop] Channel (read only)
typename [pshop] Channels (read only)
typename [pshop] DCS1_SaveOptions (read only)
typename [pshop] DCS2_SaveOptions
colorProfileName [pshop] Document name of color profile for document
name [pshop] Document (read only) the document's name
typename [pshop] Document (read only)
author [pshop] DocumentInfo
authorPosition [pshop] DocumentInfo
caption [pshop] DocumentInfo
captionWriter [pshop] DocumentInfo
category [pshop] DocumentInfo
city [pshop] DocumentInfo
copyrightNotice [pshop] DocumentInfo
country [pshop] DocumentInfo
creationDate [pshop] DocumentInfo
credit [pshop] DocumentInfo
headline [pshop] DocumentInfo
instructions [pshop] DocumentInfo
jobName [pshop] DocumentInfo
ownerUrl [pshop] DocumentInfo
provinceState [pshop] DocumentInfo
source [pshop] DocumentInfo
title [pshop] DocumentInfo
transmissionReference [pshop] DocumentInfo
typename [pshop] DocumentInfo (read only)
typename [pshop] Documents (read only)
typename [pshop] EPSOpenOptions (read only)
typename [pshop] EPSSaveOptions (read only)
pathName [pshop] ExportOptionsIllustrator name of path to export
typename [pshop] ExportOptionsIllustrator (read only)
typename [pshop] GIFSaveOptions (read only)
typename [pshop] GrayColor (read only)
typename [pshop] HSBColor (read only)
name [pshop] HistoryState (read only) the channel's name
typename [pshop] HistoryState (read only)
typename [pshop] HistoryStates (read only)
typename [pshop] IndexedConversionOptions (read only)
typename [pshop] JPEGSaveOptions (read only)
typename [pshop] LabColor (read only)
name [pshop] LayerSet the name of the layer
typename [pshop] LayerSet (read only)
typename [pshop] LayerSets (read only)
typename [pshop] Layers (read only)
typename [pshop] PDFOpenOptions (read only)
typename [pshop] PDFSaveOptions (read only)
typename [pshop] PICTFileSaveOptions (read only)
name [pshop] PICTResourceSaveOptions name of PICT resource
typename [pshop] PICTResourceSaveOptions (read only)
typename [pshop] PNGSaveOptions (read only)
colorProfileName [pshop] PhotoCDOpenOptions profile to use when reading the image
typename [pshop] PhotoCDOpenOptions (read only)
typename [pshop] PhotoshopSaveOptions (read only)
typename [pshop] PixarSaveOptions (read only)
typename [pshop] Preferences (read only)
hexValue [pshop] RGBColor hex representation of this color
typename [pshop] RGBColor (read only)
typename [pshop] RawFormatOpenOptions (read only)
typename [pshop] RawSaveOptions (read only)
typename [pshop] SGIRGBSaveOptions (read only)
typename [pshop] Selection (read only)
typename [pshop] SolidColor (read only)
typename [pshop] TargaSaveOptions (read only)
contents [pshop] TextItem the text in the layer
font [pshop] TextItem text face of the character
typename [pshop] TextItem (read only)
typename [pshop] TiffSaveOptions (read only)
absoluteURI [pshop] File (read only) The full path name for the file in URI notation.
error [pshop] File The last file system error.
fsName [pshop] File (read only) The file-system-specific name of this File as a full path name.
name [pshop] File (read only) The name of the File without the path specification.
path [pshop] File (read only) The path portion of the absoluteURI.
relativeURI [pshop] File (read only) The path name for the File in URI notation, relative to the current folder.
creator [pshop] File (read only) The Macintosh file creator as a four-character string.
encoding [pshop] File The encoding of the file for read/write operations.
lineFeed [pshop] File The line feed character(s) used.
type [pshop] File (read only) The Macintosh file type as a four-character string.
absoluteURI [pshop] Folder (read only) The full path name for the Folder in URI notation.
error [pshop] Folder The last file system error.
fsName [pshop] Folder (read only) The file-system-specific name of this Folder as a full path name.
name [pshop] Folder (read only) The name of the Folder without the path specification.
path [pshop] Folder (read only) The path portion of the absoluteURI.
relativeURI [pshop] Folder (read only) The path name for the Folder in URI notation, relative to the current folder.
type [anark] Asset (read only) Type of the asset.
name [anark] Asset User-defined name for the asset.
type [anark] Scene (read only) The string 'Scene'.
remoteSource [anark] Image URL to the source for the image.
remoteSource [anark] Video (read only) URL to the source for the video.
remoteSource [anark] Music (read only) URL to the source for the music.
id [svg] SVGElement
xmlbase [svg] SVGElement
baseVal [svg] SVGAnimatedString
animVal [svg] SVGAnimatedString (read only)
valueAsString [svg] SVGLength
valueAsString [svg] SVGAngle
colorProfile [svg] SVGICCColor
xmllang [svg] SVGLangSpace
xmlspace [svg] SVGLangSpace
viewBoxString [svg] SVGViewSpec (read only)
preserveAspectRatioString [svg] SVGViewSpec (read only)
transformString [svg] SVGViewSpec (read only)
viewTargetString [svg] SVGViewSpec (read only)
title [svg] SVGDocument (read only)
referrer [svg] SVGDocument (read only)
domain [svg] SVGDocument (read only)
URL [svg] SVGDocument (read only)
contentScriptType [svg] SVGSVGElement
contentStyleType [svg] SVGSVGElement
xmlspace [svg] SVGStyleElement
type [svg] SVGStyleElement
media [svg] SVGStyleElement
title [svg] SVGStyleElement
pathSegTypeAsLetter [svg] SVGPathSeg (read only)
glyphRef [svg] SVGAltGlyphElement
format [svg] SVGAltGlyphElement
glyphRef [svg] SVGGlyphRefElement
format [svg] SVGGlyphRefElement
uri [svg] SVGPaint (read only)
local [svg] SVGColorProfileElement
name [svg] SVGColorProfileElement
src [svg] SVGColorProfileRule
name [svg] SVGColorProfileRule
type [svg] SVGScriptElement
nodeName [dom] Node (read only)
nodeValue [dom] Node
namespaceURI [dom] Node (read only)
prefix [dom] Node
localName [dom] Node (read only)
data [dom] CharacterData
name [dom] Attr (read only)
value [dom] Attr
tagName [dom] Element (read only)
name [dom] DocumentType (read only)
publicId [dom] DocumentType (read only)
systemId [dom] DocumentType (read only)
internalSubset [dom] DocumentType (read only)
publicId [dom] Notation (read only)
systemId [dom] Notation (read only)
publicId [dom] Entity (read only)
systemId [dom] Entity (read only)
notationName [dom] Entity (read only)
target [dom] ProcessingInstruction (read only)
data [dom] ProcessingInstruction
type [events] Event (read only)
prevValue [events] MutationEvent (read only)
newValue [events] MutationEvent (read only)
attrName [events] MutationEvent (read only)
type [stylesheets] StyleSheet (read only)
href [stylesheets] StyleSheet (read only)
title [stylesheets] StyleSheet (read only)
mediaText [stylesheets] MediaList
cssText [css] CSSRule
selectorText [css] CSSStyleRule
selectorText [css] CSSPageRule
href [css] CSSImportRule (read only)
encoding [css] CSSCharsetRule
cssText [css] CSSStyleDeclaration
cssText [css] CSSValue
identifier [css] Counter (read only)
listStyle [css] Counter (read only)
separator [css] Counter (read only)
azimuth [css] CSS2Properties
background [css] CSS2Properties
backgroundAttachment [css] CSS2Properties
backgroundColor [css] CSS2Properties
backgroundImage [css] CSS2Properties
backgroundPosition [css] CSS2Properties
backgroundRepeat [css] CSS2Properties
border [css] CSS2Properties
borderCollapse [css] CSS2Properties
width [css] CSS2Properties
borderColor [css] CSS2Properties
borderSpacing [css] CSS2Properties
borderStyle [css] CSS2Properties
borderTop [css] CSS2Properties
borderRight [css] CSS2Properties
borderBottom [css] CSS2Properties
borderLeft [css] CSS2Properties
borderTopColor [css] CSS2Properties
borderRightColor [css] CSS2Properties
borderBottomColor [css] CSS2Properties
borderLeftColor [css] CSS2Properties
borderTopStyle [css] CSS2Properties
borderRightStyle [css] CSS2Properties
borderBottomStyle [css] CSS2Properties
borderLeftStyle [css] CSS2Properties
borderTopWidth [css] CSS2Properties
borderRightWidth [css] CSS2Properties
borderBottomWidth [css] CSS2Properties
borderLeftWidth [css] CSS2Properties
borderWidth [css] CSS2Properties
bottom [css] CSS2Properties
captionSide [css] CSS2Properties
clear [css] CSS2Properties
clip [css] CSS2Properties
color [css] CSS2Properties
content [css] CSS2Properties
counterIncrement [css] CSS2Properties
counterReset [css] CSS2Properties
cue [css] CSS2Properties
cueAfter [css] CSS2Properties
cueBefore [css] CSS2Properties
cursor [css] CSS2Properties
direction [css] CSS2Properties
display [css] CSS2Properties
elevation [css] CSS2Properties
emptyCells [css] CSS2Properties
cssFloat [css] CSS2Properties
font [css] CSS2Properties
fontFamily [css] CSS2Properties
fontSize [css] CSS2Properties
fontSizeAdjust [css] CSS2Properties
fontStretch [css] CSS2Properties
fontStyle [css] CSS2Properties
fontVariant [css] CSS2Properties
fontWeight [css] CSS2Properties
height [css] CSS2Properties
left [css] CSS2Properties
letterSpacing [css] CSS2Properties
lineHeight [css] CSS2Properties
listStyle [css] CSS2Properties
listStyleImage [css] CSS2Properties
listStylePosition [css] CSS2Properties
listStyleType [css] CSS2Properties
margin [css] CSS2Properties
marginTop [css] CSS2Properties
marginRight [css] CSS2Properties
marginBottom [css] CSS2Properties
marginLeft [css] CSS2Properties
markerOffset [css] CSS2Properties
marks [css] CSS2Properties
maxHeight [css] CSS2Properties
maxWidth [css] CSS2Properties
minHeight [css] CSS2Properties
minWidth [css] CSS2Properties
orphans [css] CSS2Properties
outline [css] CSS2Properties
outlineColor [css] CSS2Properties
outlineStyle [css] CSS2Properties
outlineWidth [css] CSS2Properties
overflow [css] CSS2Properties
padding [css] CSS2Properties
paddingTop [css] CSS2Properties
paddingRight [css] CSS2Properties
paddingBottom [css] CSS2Properties
paddingLeft [css] CSS2Properties
page [css] CSS2Properties
pageBreakAfter [css] CSS2Properties
pageBreakBefore [css] CSS2Properties
pageBreakInside [css] CSS2Properties
pause [css] CSS2Properties
pauseAfter [css] CSS2Properties
pauseBefore [css] CSS2Properties
pitch [css] CSS2Properties
pitchRange [css] CSS2Properties
playDuring [css] CSS2Properties
position [css] CSS2Properties
quotes [css] CSS2Properties
richness [css] CSS2Properties
right [css] CSS2Properties
size [css] CSS2Properties
speak [css] CSS2Properties
speakHeader [css] CSS2Properties
speakNumeral [css] CSS2Properties
speakPunctuation [css] CSS2Properties
speechRate [css] CSS2Properties
stress [css] CSS2Properties
tableLayout [css] CSS2Properties
textAlign [css] CSS2Properties
textDecoration [css] CSS2Properties
textIndent [css] CSS2Properties
textShadow [css] CSS2Properties
textTransform [css] CSS2Properties
top [css] CSS2Properties
unicodeBidi [css] CSS2Properties
verticalAlign [css] CSS2Properties
visibility [css] CSS2Properties
voiceFamily [css] CSS2Properties
volume [css] CSS2Properties
whiteSpace [css] CSS2Properties
widows [css] CSS2Properties
wordSpacing [css] CSS2Properties
zIndex [css] CSS2Properties
title [html] HTMLDocument
referrer [html] HTMLDocument (read only)
domain [html] HTMLDocument (read only)
URL [html] HTMLDocument (read only)
cookie [html] HTMLDocument
id [html] HTMLElement
title [html] HTMLElement
lang [html] HTMLElement
dir [html] HTMLElement
className [html] HTMLElement
version [html] HTMLHtmlElement
profile [html] HTMLHeadElement
charset [html] HTMLLinkElement
href [html] HTMLLinkElement
hreflang [html] HTMLLinkElement
media [html] HTMLLinkElement
rel [html] HTMLLinkElement
rev [html] HTMLLinkElement
target [html] HTMLLinkElement
type [html] HTMLLinkElement
text [html] HTMLTitleElement
content [html] HTMLMetaElement
httpEquiv [html] HTMLMetaElement
name [html] HTMLMetaElement
scheme [html] HTMLMetaElement
href [html] HTMLBaseElement
target [html] HTMLBaseElement
prompt [html] HTMLIsIndexElement
media [html] HTMLStyleElement
type [html] HTMLStyleElement

Methods that return a String

name of object description
substringData() CharacterData
getAttribute() Element
getAttributeNS() Element
item() MediaList
getPropertyValue() CSSStyleDeclaration
removeProperty() CSSStyleDeclaration
getPropertyPriority() CSSStyleDeclaration
item() CSSStyleDeclaration
getStringValue() CSSPrimitiveValue
toLocaleString() Object For most objects, the same as toString() unless explicitly overridden.
valueOf() Object Returns the internal this value of the object.
join() Array Returns a string representation of the array, separated by the delimiter of your choice.
fromCharCode() String Create a new string from a series of Unicode character values.
concat() String Append one or more strings to the current string, and return the result.
charAt() String Return the character at a particular index in the string.
lastIndexOf() String The offset of a substring within the string.
replace() String Find and replace values in a string, and return the changed string.
slice() String Return a specified subsection of the string.
toLowerCase() String Return a lowercase version of the string.
toUpperCase() String Return an uppercase version of the string.
toString() Number Return the number as a string converted to a specified base.
toFixed() Number Return the number formatted with a specified number of digits after the decimal point.
toExponential() Number Return the number formatted in scientific notation, with one digit before the decimal point and a specified number of digits after.
toLocaleLowerCase() String Return a locale-specific lowercase version of the string.
toLocaleUpperCase() String Return a locale-specific uppercase version of the string.
toPrecision() Number Return the number as a string in either in fixed or exponential notation, with the specified number of digits.
toDateString() Date Return a string version of the date-only portion of the object.
toTimeString() Date Return a string version of the time-only portion of the object.
read() File Read the contents of the file.
toUTCString() Date Returns a string form of the Date in a convenient, human-readable form in UTC.
decode() Folder Decode the input string according to RFC 2396.
decode() File Decode the input string according to RFC 2396.
encode() Folder Encode the input string according to RFC 2396.
encode() File Encode the input string according to RFC 2396.
getRelativeURI() File Calculate the path relative to another.
getRelativeURI() Folder Calculate the path relative to another.
readch() File Read a single character.
readln() File Read one line of text.
typeIDToCharID() Application Convert from a runtime ID to a character ID.
typeIDToStringID() Application Convert from a runtime ID to a string ID.
getString() ActionDescriptor get the value of a key of type string
getString() ActionList get the value of an item of type string
getName() ActionReference get name value for an ActionReference whose form is 'Name'
getItem() SVGStringList
insertItemBefore() SVGStringList
replaceItem() SVGStringList
removeItem() SVGStringList
appendItem() SVGStringList
toString() Object Returns a string representation of the object.
indexOf() String Find the offset of a substring within the string.
substring() String Return a specified subsection of the string.

Arguments that are a String

name in method of object description
newItem insertItemBefore() [svg] SVGStringList
newItem replaceItem() [svg] SVGStringList
newItem appendItem() [svg] SVGStringList
rgbColor setRGBColor() [svg] SVGColor
rgbColor setRGBColorICCColor() [svg] SVGColor
iccColor setRGBColorICCColor() [svg] SVGColor
rgbColor setColor() [svg] SVGColor
iccColor setColor() [svg] SVGColor
name getPresentationAttribute() [svg] SVGStylable
extension hasExtension() [svg] SVGTests
elementId getElementById() [svg] SVGSVGElement
uri setUri() [svg] SVGPaint
uri setPaint() [svg] SVGPaint
rgbColor setPaint() [svg] SVGPaint
iccColor setPaint() [svg] SVGPaint
feature hasFeature() [dom] DOMImplementation
version hasFeature() [dom] DOMImplementation
qualifiedName createDocumentType() [dom] DOMImplementation
publicId createDocumentType() [dom] DOMImplementation
systemId createDocumentType() [dom] DOMImplementation
namespaceURI createDocument() [dom] DOMImplementation
qualifiedName createDocument() [dom] DOMImplementation
tagName createElement() [dom] Document
data createTextNode() [dom] Document The string contents of the tex
data createComment() [dom] Document
data createCDATASection() [dom] Document
target createProcessingInstruction() [dom] Document
data createProcessingInstruction() [dom] Document
name createAttribute() [dom] Document
name createEntityReference() [dom] Document
tagname getElementsByTagName() [dom] Document
namespaceURI createElementNS() [dom] Document
qualifiedName createElementNS() [dom] Document
namespaceURI createAttributeNS() [dom] Document
qualifiedName createAttributeNS() [dom] Document
namespaceURI getElementsByTagNameNS() [dom] Document
localName getElementsByTagNameNS() [dom] Document
elementId getElementById() [dom] Document
feature isSupported() [dom] Node
version isSupported() [dom] Node
name getNamedItem() [dom] NamedNodeMap
name removeNamedItem() [dom] NamedNodeMap
namespaceURI getNamedItemNS() [dom] NamedNodeMap
localName getNamedItemNS() [dom] NamedNodeMap
namespaceURI removeNamedItemNS() [dom] NamedNodeMap
localName removeNamedItemNS() [dom] NamedNodeMap
arg appendData() [dom] CharacterData
arg insertData() [dom] CharacterData
arg replaceData() [dom] CharacterData
name getAttribute() [dom] Element
name setAttribute() [dom] Element
value setAttribute() [dom] Element
name removeAttribute() [dom] Element
name getAttributeNode() [dom] Element
name getElementsByTagName() [dom] Element
namespaceURI getAttributeNS() [dom] Element
localName getAttributeNS() [dom] Element
namespaceURI setAttributeNS() [dom] Element
qualifiedName setAttributeNS() [dom] Element
value setAttributeNS() [dom] Element
namespaceURI removeAttributeNS() [dom] Element
localName removeAttributeNS() [dom] Element
namespaceURI getAttributeNodeNS() [dom] Element
localName getAttributeNodeNS() [dom] Element
namespaceURI getElementsByTagNameNS() [dom] Element
localName getElementsByTagNameNS() [dom] Element
name hasAttribute() [dom] Element
namespaceURI hasAttributeNS() [dom] Element
localName hasAttributeNS() [dom] Element
type addEventListener() [events] EventTarget
type removeEventListener() [events] EventTarget
eventTypeArg initEvent() [events] Event Specifies the event type. This
eventType createEvent() [events] DocumentEvent A string denoting the type of<
typeArg initUIEvent() [events] UIEvent
typeArg initMouseEvent() [events] MouseEvent
typeArg initMutationEvent() [events] MutationEvent
prevValueArg initMutationEvent() [events] MutationEvent
newValueArg initMutationEvent() [events] MutationEvent
attrNameArg initMutationEvent() [events] MutationEvent
oldMedium deleteMedium() [stylesheets] MediaList
newMedium appendMedium() [stylesheets] MediaList
rule insertRule() [css] CSSStyleSheet
rule insertRule() [css] CSSMediaRule
propertyName getPropertyValue() [css] CSSStyleDeclaration
propertyName getPropertyCSSValue() [css] CSSStyleDeclaration
propertyName removeProperty() [css] CSSStyleDeclaration
propertyName getPropertyPriority() [css] CSSStyleDeclaration
propertyName setProperty() [css] CSSStyleDeclaration
value setProperty() [css] CSSStyleDeclaration
priority setProperty() [css] CSSStyleDeclaration
stringValue setStringValue() [css] CSSPrimitiveValue
pseudoElt getComputedStyle() [css] ViewCSS
pseudoElt getOverrideStyle() [css] DocumentCSS
title createCSSStyleSheet() [css] DOMImplementationCSS
media createCSSStyleSheet() [css] DOMImplementationCSS
name namedItem() [html] HTMLCollection
name namedItem() [html] HTMLOptionsCollection
text write() [html] HTMLDocument
text writeln() [html] HTMLDocument
elementName getElementsByName() [html] HTMLDocument
propertyOrMethodName hasOwnProperty() Object The name of the property or me
propertyOrMethodName propertyIsEnumerable() Object The name of the property or me
separator join() Array The string to separate each el
string1 concat() String The first string to append.
string2 concat() String The second string to append.
... concat() String etc.
searchString indexOf() String The substring to search for wi
searchString lastIndexOf() String The substring to search for wi
compareString localeCompare() String The string to compare to the c
str eval() Global The string to evaluate.
string parseInt() Global The string to convert to a num
string parseFloat() Global The string to convert to a num
dateString parse() Date The string to parse as a date;
sourceString exec() RegExp The string to run the regular<
sourceString test() RegExp The string to run the regular<
str decode() [pshop] Folder The string to decode.
str decode() [pshop] File The string to decode.
str encode() [pshop] Folder The string to encode.
str encode() [pshop] File The string to encode.
str1 write() [pshop] File The first string to write.
str2 write() [pshop] File Additional string(s) to write.
... write() [pshop] File
str1 writeln() [pshop] File The first string to write.
str2 writeln() [pshop] File Additional string(s) to write.
... writeln() [pshop] File
basePath getRelativeURI() [pshop] File The path to calculate relative
newName rename() [pshop] File The new name for the file.
msg alert() [pshop] Application The message to display.
charID charIDToTypeID() [pshop] Application
msg confirm() [pshop] Application The confirmation message to di
action doAction() [pshop] Application
from doAction() [pshop] Application
stringID stringIDToTypeID() [pshop] Application
value putString() [pshop] ActionDescriptor
value putString() [pshop] ActionList
value putName() [pshop] ActionReference
styleName applyStyle() [pshop] ArtLayer
destinationProfile convertProfile() [pshop] Document
printSpace print() [pshop] Document
name add() [pshop] Documents
basePath getRelativeURI() [pshop] Folder The path to calculate relative
newName rename() [pshop] Folder The new name for the folder.
mask getFiles() [pshop] Folder The search mask to use.
mode open() [pshop] File One of 'r',
type open() [pshop] File Four character MacOS file type
creator open() [pshop] File Four character MacOS creator t
oldMaterialName swapMaterial() [anark] Model The name of the old material.<
timeContextName getContext() [anark] Presentation Variable name of the TimeConte
commandLine launch() [anark] Container Application and file to launch