Packagecom.adobe.portfolio.utils
Classpublic class StringUtils
InheritanceStringUtils Inheritance Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The StringUtils class provides a set of String utility functions.



Public Methods
 MethodDefined By
  
arrayToString(array:Array, delimeter:String = ):String
[static] Converts an array to a string with delimiters.
StringUtils
  
dictToString(dict:Dictionary, delimeter:String = ):String
[static] Converts a dictionary to a string with delimiters.
StringUtils
  
getStackTrace():String
[static] Get the stack trace as a string
StringUtils
  
intVectorToString(array:Vector.<int>, delimeter:String = ):String
[static] Converts an int vector to a string with delimiters
StringUtils
Method Detail
arrayToString()method
public static function arrayToString(array:Array, delimeter:String = ):String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Converts an array to a string with delimiters.

Parameters

array:Array — The array that is to be represented as a string.
 
delimeter:String (default = ) — The delimiter used in the string.

Returns
String — A string representing the given array.
dictToString()method 
public static function dictToString(dict:Dictionary, delimeter:String = ):String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Converts a dictionary to a string with delimiters.

Parameters

dict:Dictionary — The dictionary that is to be represented as a string.
 
delimeter:String (default = ) — The delimiter used in the string.

Returns
String — A string representing the given dictionary.
getStackTrace()method 
public static function getStackTrace():String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Get the stack trace as a string

Returns
String
intVectorToString()method 
public static function intVectorToString(array:Vector.<int>, delimeter:String = ):String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Converts an int vector to a string with delimiters

Parameters

array:Vector.<int> — The int vector that is to be represented as a string.
 
delimeter:String (default = ) — The delimiter used in the string.

Returns
String — A string representing the given vector.