| Pakket | mx.utils |
| Klasse | public class RPCStringUtil |
| Overerving | RPCStringUtil Object |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Openbare eigenschappen
Openbare methoden
| Methode | Gedefinieerd door | ||
|---|---|---|---|
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
[statisch]
Returns true if the specified string is
a single space, tab, carriage return, newline, or formfeed character. | RPCStringUtil | ||
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
[statisch]
Substitutes "{n}" tokens within the specified string
with the respective arguments passed in. | RPCStringUtil | ||
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | |
[statisch]
Removes all whitespace characters from the beginning and end
of the specified string. | RPCStringUtil | ||
[statisch]
Removes all whitespace characters from the beginning and end
of each element in an Array, where the Array is stored as a String. | RPCStringUtil | ||
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object | |
Methodedetails
isWhitespace | () | methode |
public static function isWhitespace(character:String):Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns true if the specified string is
a single space, tab, carriage return, newline, or formfeed character.
Parameters
character:String — The String that is is being queried.
|
Boolean — true if the specified string is
a single space, tab, carriage return, newline, or formfeed character.
|
substitute | () | methode |
public static function substitute(str:String, ... rest):String| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Substitutes "{n}" tokens within the specified string with the respective arguments passed in.
Parameters
str:String — The string to make substitutions in.
This string can contain special tokens of the form
{n}, where n is a zero based index,
that will be replaced with the additional parameters
found at that index if specified.
| |
... rest — Additional parameters that can be substituted
in the str parameter at each {n}
location, where n is an integer (zero based)
index value into the array of values specified.
If the first parameter is an array this array will be used as
a parameter list.
This allows reuse of this routine in other methods that want to
use the ... rest signature.
For example
public function myTracer(str:String, ... rest):void
{
label.text += StringUtil.substitute(str, rest) + "\n";
}
|
String — New string with all of the {n} tokens
replaced with the respective arguments specified.
|
trim | () | methode |
public static function trim(str:String):String| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Removes all whitespace characters from the beginning and end of the specified string.
Parameters
str:String — The String whose whitespace should be trimmed.
|
String — Updated String where whitespace was removed from the
beginning and end.
|
trimArrayElements | () | methode |
public static function trimArrayElements(value:String, delimiter:String):String| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Removes all whitespace characters from the beginning and end of each element in an Array, where the Array is stored as a String.
Parameters
value:String — The String whose whitespace should be trimmed.
| |
delimiter:String — The String that delimits each Array element in the string.
|
String — Updated String where whitespace was removed from the
beginning and end of each element.
|
Wed Jun 13 2018, 11:42 AM Z
Overerfde openbare eigenschappen verbergen
Overerfde openbare eigenschappen weergeven