-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathString.as
46 lines (36 loc) · 1.42 KB
/
String.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//****************************************************************************
// ActionScript Standard Library
// String object
//****************************************************************************
intrinsic class String
{
var length:Number;
function String(value:String);
static function fromCharCode():String;
function charAt(index:Number):String;
function charCodeAt(index:Number):Number;
function concat(value:Object):String;
function endswith( endString:String ):Number; // Central API
function indexOf(value:String, startIndex:Number):Number;
function lastIndexOf(value:String, startIndex:Number):Number;
function slice(start:Number,end:Number):String;
function split(delimiter:String, limit:Number):Array;
function substr(start:Number,length:Number):String;
function substring(start:Number,end:Number):String;
function toLowerCase():String;
function toString():String;
function toUpperCase():String;
function valueOf():String;
//-------------------------------------------------------------------
// StringPrototype
//-------------------------------------------------------------------
function replace( string:String, withString:String ):String;
function includes(s:String):Boolean;
function beginsWith( string:String ):Boolean;
function endsWith( string:String ):Boolean;
function capitalize():String;
function titleize():String;
function toDate():Date
var chars:Array
var characters:Array
}