Paket | com.adobe.fiber.runtime.lib |
Sınıf | public class StringFunc |
Miras Alma | StringFunc Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Yöntem | Tanımlayan: | ||
---|---|---|---|
[statik]
Returns the character at the indicated position. | StringFunc | ||
[statik]
Returns the character with the provided code. | StringFunc | ||
[statik]
Compares two strings lexicographically. | StringFunc | ||
[statik]
Compare two strings lexicographically, ignoring case. | StringFunc | ||
[statik]
Tests if this string ends with the specified suffix. | StringFunc | ||
[statik]
Returns the index of the substring within the string. | StringFunc | ||
[statik]
Returns the index within this string of the rightmost occurrence of the specified substring. | StringFunc | ||
[statik]
Returns the index within this string of the rightmost occurrence of the specified substring, ignoring case. | StringFunc | ||
[statik]
Returns the index of the substring within the string, ignoring case. | StringFunc | ||
[statik]
Finds the first occurrence of any one of a set of characters in a string. | StringFunc | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
[statik]
Inserts a substring in a string after a specified character position. | StringFunc | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
[statik]
Gets the leftmost characters from a string. | StringFunc | ||
[statik]
Removes whitespace from the front of the specified string. | StringFunc | ||
[statik]
Returns the length of a string. | StringFunc | ||
[statik]
Converts a string to lowercase. | StringFunc | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
[statik]
Returns a copy of the string, with count characters removed from the specified start position. | StringFunc | ||
[statik]
Creates a string that contains a specified number of repetitions of the specified string. | StringFunc | ||
[statik]
Replaces first occurrence of search in the input string with replace. | StringFunc | ||
[statik]
Replaces all occurrences of search in the input string with replace. | StringFunc | ||
[statik]
Replaces all occurrences of search in the input string with replace. | StringFunc | ||
[statik]
Replaces first occurrence of search in the input string with replace. | StringFunc | ||
[statik]
Reverse the characters in a string. | StringFunc | ||
[statik]
Returns the specified number of characters from the end (or right side) of the specified string. | StringFunc | ||
[statik]
Removes trailing white space from a string. | StringFunc | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
[statik]
Gets characters from a string, from the beginning to a character that is in a specified set of characters. | StringFunc | ||
[statik]
Gets characters from a string, from the beginning to a character that is not in a specified set of characters. | StringFunc | ||
[statik]
Returns true if string starts with a specified prefix. | StringFunc | ||
[statik]
Extracts a substring from a string, beginning at s (start), of length c (count). | StringFunc | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
Belirtilen nesnenin dize olarak temsil edilen halini döndürür. | Object | ||
[statik]
Removes whitespace from the start and end of a string. | StringFunc | ||
[statik]
Converts a string to uppercase. | StringFunc | ||
Belirtilen nesnenin temel değerini döndürür. | Object |
charAt | () | yöntem |
public static function charAt(s:String, pos:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the character at the indicated position.
Parametreler
s:String — String
| |
pos:int — Position - 0 is the first character in the string
|
String — Character
|
chr | () | yöntem |
compare | () | yöntem |
public static function compare(s1:String, s2:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Compares two strings lexicographically.
Parametreler
s1:String — String
| |
s2:String — String
|
int — Value 0 if the argument string is equal to this string;
-1 if this string is lexicographically less than the string argument;
+1 if this string is lexicographically greater than the string argument.
|
compareNoCase | () | yöntem |
public static function compareNoCase(s1:String, s2:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Compare two strings lexicographically, ignoring case.
Parametreler
s1:String — String
| |
s2:String — String
|
int — 0 if the argument string is equal to this string;
-1 if this string is lexicographically less than the string argument;
+1 if this string is lexicographically greater than the string argument.
|
endsWith | () | yöntem |
public static function endsWith(sub:String, str:String):Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Tests if this string ends with the specified suffix.
Parametreler
sub:String — Suffix to test
| |
str:String — String
|
Boolean — true if the string ends with the suffix
|
find | () | yöntem |
public static function find(sub:String, str:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the index of the substring within the string.
Parametreler
sub:String — Substring to find
| |
str:String — String
|
int — Index of the substring, or -1 if not found
|
findLast | () | yöntem |
public static function findLast(sub:String, str:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the index within this string of the rightmost occurrence of the specified substring.
Parametreler
sub:String — Substring to look for
| |
str:String — String
|
int — Index of the first character of the last substring is returned or -1 if not found.
|
findLastNoCase | () | yöntem |
public static function findLastNoCase(sub:String, str:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the index within this string of the rightmost occurrence of the specified substring, ignoring case.
Parametreler
sub:String — Substring to look for
| |
str:String — String
|
int — Index of the first character of the last substring is returned or -1 if not found.
|
findNoCase | () | yöntem |
public static function findNoCase(sub:String, str:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the index of the substring within the string, ignoring case.
Parametreler
sub:String — Substring to find
| |
str:String — String
|
int — Index of the substring, or -1 if not found
|
findOneOf | () | yöntem |
public static function findOneOf(cset:String, str:String):int
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Finds the first occurrence of any one of a set of characters in a string. The search is case-sensitive.
Parametreler
cset:String — Set of characters to look for
| |
str:String — String
|
int — Position of the first member of set found in string; or -1, if no member of set is found in string.
|
insert | () | yöntem |
public static function insert(sub:String, str:String, pos:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Inserts a substring in a string after a specified character position. If position = -1, prefixes the substring to the string.
Parametreler
sub:String — String to insert
| |
str:String — String
| |
pos:int — Position to insert the substring
|
String — New string
|
left | () | yöntem |
public static function left(str:String, count:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Gets the leftmost characters from a string.
Parametreler
str:String — String
| |
count:int — How many characters
|
String — Leftmost count characters of the given string
|
leftTrim | () | yöntem |
public static function leftTrim(input:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Removes whitespace from the front of the specified string.
Parametreler
input:String — String whose beginning whitespace will be removed.
|
String — String with whitespace removed from the begining
|
len | () | yöntem |
lower | () | yöntem |
public static function lower(str:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Converts a string to lowercase.
Parametreler
str:String — String
|
String — String, converted to lowercase.
|
removeChars | () | yöntem |
public static function removeChars(str:String, start:int, count:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns a copy of the string, with count characters removed from the specified start position. If start or count is invalid, the original string is returned.
Parametreler
str:String — String
| |
start:int — Starting character to remove
| |
count:int — Number of characters to remove
|
String — New string with the characters removed
|
repeatString | () | yöntem |
public static function repeatString(str:String, count:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Creates a string that contains a specified number of repetitions of the specified string.
Parametreler
str:String — String
| |
count:int — Number of times to repeat str
|
String — New string
|
replace | () | yöntem |
public static function replace(input:String, search:String, replace:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Replaces first occurrence of search in the input string with replace. The search is case-sensitive.
Parametreler
input:String — String to search
| |
search:String — What to look for
| |
replace:String — What to replace it with
|
String — New string
|
replaceAll | () | yöntem |
public static function replaceAll(input:String, search:String, replace:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Replaces all occurrences of search in the input string with replace. The search is case-sensitive.
Parametreler
input:String — String to search
| |
search:String — What to look for
| |
replace:String — What to replace it with
|
String — New string
|
replaceAllNoCase | () | yöntem |
public static function replaceAllNoCase(input:String, search:String, replace:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Replaces all occurrences of search in the input string with replace. The search is case-insensitive.
Parametreler
input:String — String to search
| |
search:String — What to look for
| |
replace:String — What to replace it with
|
String — New string
|
replaceNoCase | () | yöntem |
public static function replaceNoCase(input:String, search:String, replace:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Replaces first occurrence of search in the input string with replace. The search is case-insensitive.
Parametreler
input:String — String to search
| |
search:String — What to look for
| |
replace:String — What to replace it with
|
String — New string
|
reverse | () | yöntem |
public static function reverse(s:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Reverse the characters in a string.
Parametreler
s:String — String
|
String — New string with the characters in reverse order
|
right | () | yöntem |
public static function right(str:String, count:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns the specified number of characters from the end (or right side) of the specified string.
Parametreler
str:String — String
| |
count:int — Number of rightmost characters
|
String — Rightmost count characters of the given string
|
rightTrim | () | yöntem |
public static function rightTrim(input:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Removes trailing white space from a string.
Parametreler
input:String — String to trim
|
String — String with trailing whitespace removed
|
spanExcluding | () | yöntem |
public static function spanExcluding(str:String, cset:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Gets characters from a string, from the beginning to a character that is in a specified set of characters. The search is case-sensitive. Example SpanExcluding("MyString", "Sin") will return "My" as after that it hits 'S' which is present in 2nd string.
Parametreler
str:String — String
| |
cset:String — Set of characters to stop on
|
String — Substring of str
|
spanIncluding | () | yöntem |
public static function spanIncluding(str:String, cset:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Gets characters from a string, from the beginning to a character that is not in a specified set of characters. The search is case-sensitive. example : SpanIncluding("mystring", "mystery") will return "mystr"
Parametreler
str:String — String
| |
cset:String — Set of characters to include
|
String — Substring of str
|
startsWith | () | yöntem |
public static function startsWith(prefix:String, input:String):Boolean
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Returns true if string starts with a specified prefix.
Parametreler
prefix:String — Prefix string
| |
input:String — String
|
Boolean — true if the string starts with prefix
|
substring | () | yöntem |
public static function substring(str:String, s:int, c:int):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Extracts a substring from a string, beginning at s (start), of length c (count).
Parametreler
str:String — String
| |
s:int — First character to extract (indexes start at 0)
| |
c:int — Number of characters
|
String — Substring
|
trim | () | yöntem |
public static function trim(s:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Removes whitespace from the start and end of a string.
Parametreler
s:String — String
|
String — Copy of the string with no leading or trailing whitespace
|
upper | () | yöntem |
public static function upper(s:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Converts a string to uppercase.
Parametreler
s:String — String
|
String — String converted to uppercase
|
Tue Jun 12 2018, 01:09 PM Z