|
Softhema Java Toolkit Collection 1.1 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--softhema.system.toolkits.ToolkitString
| Constructor Summary | |
ToolkitString()
|
|
| Method Summary | |
static java.lang.String |
format(java.math.BigDecimal bigDecimalValue,
int precision)
Transforms a floating decimal point value of type java.math.BigDecimal with the specified precision into a string. |
static java.lang.String |
format(java.math.BigDecimal bigDecimalValue,
int fieldwidth,
int precision)
Transforms a floating decimal point value of type java.math.BigDecimal with the specified fieldwidth and precision into a string. |
static java.lang.String |
format(java.math.BigInteger bigIntegerValue,
int fieldwidth)
Transforms an integer value of type java.Math.BigInteger with the specified fieldwidth into a string. |
static java.lang.String |
format(double doubleValue,
int precision)
Transforms a floating decimal point value of type double with the specified precision into a string. |
static java.lang.String |
format(double doubleValue,
int fieldwidth,
int precision)
Transforms a floating decimal point value of type double with the specified fieldwidth and precision into a string. |
static java.lang.String |
format(long longValue,
int fieldwidth)
Transforms an integer value of type long with the specified fieldwidth into a string. |
static java.lang.String |
getLicenseInfo()
The method returns copyright information of the Java class. |
static int |
indexOf(java.lang.String s,
char[] achFindOne)
Returns the index of the string first found in the character array achFindOne. |
static int |
indexOf(java.lang.String s,
java.lang.String[] asFindOne)
Returns the index of the string first found in the array asFindOne. |
static boolean |
isLike(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
Compares a string with a pattern. |
static boolean |
isLikeEx(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
Compares a string with a pattern. |
static boolean |
isLikeExIgnoreCase(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
Ignore case-sensitivity and compares a string with a pattern. |
static boolean |
isLikeIgnoreCase(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
Ignore case-sensitivity and compares a string with a pattern. |
static int[] |
likeIndices(java.lang.String s,
java.lang.String sPatternWithWildcards)
Searches for the first occurance of the pattern in a text. |
static int[] |
likeIndicesEx(java.lang.String s,
java.lang.String sPatternWithWildcards)
Searches for the first occurance of the pattern in a text. |
static int[] |
likeIndicesExIgnoreCase(java.lang.String s,
java.lang.String sPatternWithWildcards)
Searches for the first occurance of the pattern in a text. |
static int[] |
likeIndicesIgnoreCase(java.lang.String s,
java.lang.String sPatternWithWildcards)
Searches for the first occurance of the pattern in a text. |
static java.lang.String |
sprintf(java.lang.String sFormat,
char ch)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
double d)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.util.List listFormatParameter)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
long l)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object[] aFormatParameter)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5,
java.lang.Object param6)
Imitation of the ANSI C sprintf function. |
static java.lang.String |
sprintf(java.lang.String sFormat,
java.util.Vector vecFormatParameter)
Imitation of the ANSI C sprintf function. |
static int |
sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.util.List listFormatParameter)
Imitation of the ANSI C sscanf function. |
static int |
sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.lang.Object[] aFormatParameter)
Imitation of the ANSI C sscanf function. |
static int |
sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.util.Vector vecFormatParameter)
Imitation of the ANSI C sscanf function. |
static java.lang.String |
strCat(java.util.List list)
Executes a concatenation of strings. |
static java.lang.String |
strCat(java.lang.Object[] aParts)
Executes a concatenation of strings. |
static java.lang.String |
strCat(java.util.Vector vec)
The elements of the vector are chained together to a string. |
static java.lang.String |
strEscape_C(java.lang.String s)
Escapes the string s in a c manner. |
static java.lang.String |
strEscape_Java(java.lang.String s)
Escapes the string s in a java manner. |
static java.lang.String |
strExpand(java.lang.String sToExpand)
Expansion of Abbreviations in the string sToExpand. |
static java.lang.String |
strReplaceLike(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeEx(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeExIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeExOnce(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeExOnceIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. The comparison with the pattern is independent of the large/lower case. |
static java.lang.String |
strReplaceLikeOnce(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceLikeOnceIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
Searches for the pattern and replaces the found text by sReplace. |
static java.lang.String |
strReplaceMulti(java.lang.String s,
java.lang.String[] asSearch,
java.lang.String[] asReplace)
The strings of the array asSearch are searched in string s and the found strings are replaced with the corresponding strings in array asReplace. |
static java.lang.String[] |
strSplit(java.lang.String s)
Splits a string s into individual parts. |
static java.lang.String[] |
strSplit(java.lang.String s,
char[] aSeparators)
Splits a string s into individual parts. |
static java.lang.String[] |
strSplit(java.lang.String s,
char[] aSeparators,
char chBracket)
Splits a string s into individual parts. |
static java.lang.String |
strSqueeze(java.lang.String sText,
char[] aCharactersEliminate)
Deletes the characters in the array aCharactersEliminate from the string sText. |
static java.lang.String |
strUnescape_C(java.lang.String s)
Unescapes the string s in a c manner. |
static java.lang.String |
strUnescape_Java(java.lang.String s)
Unescapes the string s in a java manner. |
static java.lang.String |
subStringLike(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Returns the substring that matches the pattern in the text. |
static java.lang.String |
subStringLikeEx(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Returns the substring that matches the pattern in the text. |
static java.lang.String |
subStringLikeExIgnoreCase(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Returns the substring that matches the pattern in the text. |
static java.lang.String |
subStringLikeIgnoreCase(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Returns the substring that matches the pattern in the text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ToolkitString()
| Method Detail |
public static java.lang.String strReplaceLikeOnce(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "abcdefghiabcdefghi" | "??d***f" | "x" | "axghiabcdefghi" |
| "abcdefghiabcdefghi" | "*?d?" | "x" | "xfghiabcdefghi" |
development stage of the method: release
public static java.lang.String strReplaceLikeOnceIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "ABCDEFGHIABCDEFGHI" | "??d***f" | "x" | "AxGHIABCDEFGHI" |
| "ABCDEFGHIABCDEFGHI" | "*?d?" | "x" | "xFGHIABCDEFGHI" |
development stage of the method: release
public static java.lang.String strReplaceLike(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "abcdefghi" | "*f" | "xyz" | "xyzghi" |
| "abc" | "*" | "cba" | "cba" |
| "Hello World" | "e*l*l*l" | "el" | "Held" |
| "abcdef" | "b*e" | "edcb" | "aedcbf" |
| "Hello World Hello World Hello World" | "Hello World" | "Hi" | "Hi Hi Hi" |
| "Hello World Hello World Hello World" | "H*d" | "Hi" | "Hi Hi Hi" |
| "Hello World Hello World Hello World" | "e*ld" | "i" | "Hi Hi Hi" |
| "Hello World Hello World Hello World" | "?e*d" | "Hi" | "Hi Hi Hi" |
development stage of the method: release
public static java.lang.String strReplaceLikeIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "ABCDE" | "f" | "x" | "ABCDE" |
| "ABCDE" | "*" | "xyz" | "xyz" |
| "ABCDE" | "*" | "" | "" |
| "ABCDE" | "abc*" | "xyz" | "xyz" |
| "ABCDE" | "*c" | "xyz" | "xyzDE" |
| "ABCDE" | "b?d" | "xyz" | AxyzE |
| "ABCDE" | "b?d?" | "xyz" | "Axyz" |
| "ABCDE" | "b*d" | "x" | "AxE" |
development stage of the method: release
public static java.lang.String strReplaceLikeExOnce(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "abcdefghiabcdefghi" | "b[a-e]" | "x" | "axdefghiabcdefghi" |
| "abcdefghiabcdefghi" | "[a-e][a-e]" | "x" | "xxefghiabcdefghi" |
| "abcdefghiabcdefghi" | "?[c-e][a-e]?" | "x" | "axfghiabcdefghi" |
development stage of the method: release
public static java.lang.String strReplaceLikeExOnceIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "ABCDEFGHIABCDEFGHI" | "b[a-e]" | "x" | "AxDEFGHIABCDEFGHI" |
| "ABCDEFGHIABCDEFGHI" | "[a-e][a-e]" | "x" | "xxEFGHIABCDEFGHI" |
| "ABCDEFGHIABCDEFGHI" | "?[c-e][a-e]?" | "x" | "AxFGHIABCDEFGHI" |
development stage of the method: release
public static java.lang.String strReplaceLikeEx(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "abcdefghi" | "b[a-e]" | "x" | "axdefghi" |
| "abcdefghi" | "[a-e][a-e]" | "x" | "xxefghi" |
| "abcdefghi" | "?[c-e][a-e]?" | "x" | "axfghi" |
| "abcdefghi" | "?[c-e][a-e]*" | "x" | "ax" |
| "abcdefghi" | "?[c-e]*[a-e]" | "x" | "axefghi" |
| "abcdefghi" | "?[c-e]*[f-h]" | "x" | "axghi" |
| "abcdefghi" | "?[c-e]*[g-h]" | "x" | "axhi" |
development stage of the method: release
public static java.lang.String strReplaceLikeExIgnoreCase(java.lang.String s,
java.lang.String sSearchPatternWithWildcards,
java.lang.String sReplace)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
A table with some examples follows:
| text | pattern | replacement | result |
|---|---|---|---|
| "ABCDEFGHI" | "b[a-e]" | "x" | "AxDEFGHI" |
| "ABCDEFGHI" | "[a-e][a-e]" | "x" | "xxEFGHI" |
| "ABCDEFGHI" | "?[c-e][a-e]?" | "x" | "AxFGHI" |
development stage of the method: release
public static java.lang.String getLicenseInfo()
public static boolean isLike(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
A table with some examples follows:
| pattern | agreement (result true) | no agreement (result false) |
|---|---|---|
| "a*a" | "aa","aBa", "aBCBa" | "aBCDE", "a", "aab" |
| "*abc*" | "abc","abcdefg", "cbabcd" | "abbc", "xyz", "aaa" |
| "a?a" | "aaa","aZa", "a_a" | "aa", "aaaa", "abcd" |
Applet example for the method isLike in the class ToolkitString
development stage of the method: release
public static boolean isLikeIgnoreCase(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
A table with some examples follows:
| pattern | agreement (result true) | no agreement (result false) |
|---|---|---|
| "a*a" | "aa","AA","aA","aBA", "ABCBa" | "aBCDE", "a", "aab" |
| "*abc*" | "abc","ABC","abcdefg", "cbabcd" | "abbc", "xyz", "aaa" |
| "a?a" | "aaa","AAA","aZa", "a_a" | "aa", "aaaa", "abcd" |
Applet example for the method isLike in the class ToolkitString
development stage of the method: release
public static boolean isLikeEx(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
The wildcard '[*...]' contains a list of allowed characters for any number of characters.
The wildcard '[^*...]' contains a list of forbidden characters for any number of characters.
A table with some examples follows:
| pattern | agreement (result true) | no agreement (result false) |
|---|---|---|
| "a*a" | "aa", "aBCBa" | "aBCDE", "a", "aab" |
| "*abc*" | "abc", "abcdefg", "cbabcd" | "abbc", "xyz", "aaa" |
| "a?a" | "aaa", "aZa", "a_a" | "aa", "aaaa", "abcd" |
| "a[a-f]a" | "aaa", "ada", "afa" | "aa", "aza", "agd", "aaaa" |
| "a[^a-f]a" | "aza", "a_a", "aga" | "aa", "aaa", "afd", "aaaa" |
| "a[*a-f]a" | "aa", "aaa", "afa", "aabcdefa" | "aa", "aza", "axd", "aaaxa" |
| "a[^*a-f]a" | "aa", "aza", "axyza", "axxxxa" | "aaa", "afa", "axyzaa", "Xabc" |
| "a[abc]a" | "aaa", "aba", "aca", | "aa", "axa", "aaaa", "xyz" |
Applet example for the method isLike in the class ToolkitString
development stage of the method: release
public static boolean isLikeExIgnoreCase(java.lang.String sText,
java.lang.String sTextPatternWithWildcards)
The wildcard '[...]' contains a list of allowed characters.
The wildcard '[^...]' contains a list of forbidden characters.
The wildcard '[*...]' contains a list of allowed characters for any number of characters.
The wildcard '[^*...]' contains a list of forbidden characters for any number of characters.
A table with some examples follows:
| pattern | agreement (result true) | no agreement (result false) |
|---|---|---|
| "a*a" | "aa", "Aa", "ABCBa" | "aBCDE", "a", "aab" |
| "*abc*" | "abc", "ABC", "abcdefg", "cbabcd" | "abbc", "xyz", "aaa" |
| "a?a" | "AaA", "aZa", "a_a" | "aa", "aaaa", "abcd" |
| "a[a-f]a" | "aaa", "ada", "afa" | "aa", "aza", "agd", "aaaa" |
| "a[^a-f]a" | "AzA", "a_a", "aga" | "aa", "aaa", "afd", "aaaa" |
| "a[*a-f]a" | "aa", "aaa", "afa", "aabcdefa" | "aza", "axd", "aaaxa" |
| "a[^*a-f]a" | "aa", "aza", "axyza", "axxxxa" | "aaa", "afa", "axyzaa", "Xabc" |
| "a[abc]a" | "aaa", "AAA", "aba", "aca", | "aa", "axa", "aaaa", "xyz" |
Applet example for the method isLike in the class ToolkitString
development stage of the method: release
public static java.lang.String strCat(java.lang.Object[] aParts)
development stage of the method: release
public static java.lang.String strCat(java.util.List list)
development stage of the method: release
public static java.lang.String strCat(java.util.Vector vec)
development stage of the method: release
public static java.lang.String strSqueeze(java.lang.String sText,
char[] aCharactersEliminate)
development stage of the method: release
public static java.lang.String strExpand(java.lang.String sToExpand)
Examples follow:
| abbreviated text | expanded Text |
|---|---|
| "a-f" | "abcdef" |
| "abc" | "abc" |
| "0-9" | "0123456789" |
| "a-zA-Z" | "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| "Lower:z-aUpper:Z-A" | "Lower:zyxwvutsrqponmlkjihgfedcbaUpper:ZYXWVUTSRQPONMLKJIHGFEDCBA" |
| "1-9-1" | "12345678987654321" |
| "9-101-9" | "9876543210123456789" |
| "9-1-0-1-9" | "9876543210123456789" |
| "-a-a-a" | "-a" |
| "a-a-a-" | "a-" |
| "---a-a--" | "-a`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-" |
development stage of the method: release
public static java.lang.String[] strSplit(java.lang.String s)
development stage of the method: release
public static java.lang.String[] strSplit(java.lang.String s,
char[] aSeparators)
development stage of the method: release
public static java.lang.String[] strSplit(java.lang.String s,
char[] aSeparators,
char chBracket)
development stage of the method: release
public static java.lang.String strReplaceMulti(java.lang.String s,
java.lang.String[] asSearch,
java.lang.String[] asReplace)
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.util.Vector vecFormatParameter)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.util.List listFormatParameter)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object[] aFormatParameter)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
char ch)
throws java.io.IOException
public static java.lang.String sprintf(java.lang.String sFormat,
double d)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
long l)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5)
throws java.io.IOException
development stage of the method: release
public static java.lang.String sprintf(java.lang.String sFormat,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5,
java.lang.Object param6)
throws java.io.IOException
development stage of the method: release
public static int sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.lang.Object[] aFormatParameter)
throws java.io.IOException
development stage of the method: release
public static int sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.util.Vector vecFormatParameter)
throws java.io.IOException
development stage of the method: release
public static int sscanf(java.lang.String sInput,
java.lang.String sFormat,
java.util.List listFormatParameter)
throws java.io.IOException
development stage of the method: release
public static int indexOf(java.lang.String s,
java.lang.String[] asFindOne)
development stage of the method: release
public static int indexOf(java.lang.String s,
char[] achFindOne)
development stage of the method: release
public static java.lang.String format(long longValue,
int fieldwidth)
throws java.io.IOException
development stage of the method: release
public static java.lang.String format(java.math.BigInteger bigIntegerValue,
int fieldwidth)
throws java.io.IOException
development stage of the method: release
public static java.lang.String format(double doubleValue,
int fieldwidth,
int precision)
throws java.io.IOException
development stage of the method: release
public static java.lang.String format(java.math.BigDecimal bigDecimalValue,
int fieldwidth,
int precision)
throws java.io.IOException
development stage of the method: release
public static java.lang.String format(double doubleValue,
int precision)
throws java.io.IOException
development stage of the method: r
public static java.lang.String format(java.math.BigDecimal bigDecimalValue,
int precision)
throws java.io.IOException
development stage of the method: release
public static int[] likeIndices(java.lang.String s,
java.lang.String sPatternWithWildcards)
Examples:
int[] array = ToolkitString.likeIndices( text, pattern );
| text | pattern | start index array[0] | end index array[1] |
|---|---|---|---|
| "abcdefghi" | "bcd" | 1 | 3 |
| "abcdefghi" | "b*e" | 1 | 4 |
| "abcdefghi" | "?d?" | 2 | 4 |
development stage of the method: release
public static int[] likeIndicesIgnoreCase(java.lang.String s,
java.lang.String sPatternWithWildcards)
development stage of the method: release
public static int[] likeIndicesEx(java.lang.String s,
java.lang.String sPatternWithWildcards)
development stage of the method: release
public static int[] likeIndicesExIgnoreCase(java.lang.String s,
java.lang.String sPatternWithWildcards)
development stage of the method: release
public static java.lang.String strEscape_C(java.lang.String s)
throws java.lang.IllegalArgumentException
development stage of the method: beta
public static java.lang.String strUnescape_C(java.lang.String s)
throws java.lang.IllegalArgumentException
development stage of the method: beta
public static java.lang.String strEscape_Java(java.lang.String s)
throws java.lang.IllegalArgumentException
development stage of the method: beta
public static java.lang.String strUnescape_Java(java.lang.String s)
throws java.lang.IllegalArgumentException
development stage of the method: beta
public static java.lang.String subStringLike(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Applet example for the method subStringLike in the class ToolkitString
development stage of the method: release
public static java.lang.String subStringLikeEx(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Applet example for the method subStringLike in the class ToolkitString
development stage of the method: release
public static java.lang.String subStringLikeIgnoreCase(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Applet example for the method subStringLike in the class ToolkitString
development stage of the method: release
public static java.lang.String subStringLikeExIgnoreCase(java.lang.String sText,
java.lang.String sPatternWithWildcards)
Applet example for the method subStringLike in the class ToolkitString
development stage of the method: release
|
Softhema Java Toolkit Collection 1.1 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
| Introduction |
| Installation |
| Samples |
| License (read carefully) |