StringOperations
Complete API reference for StringOperations, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: String
Component: no
public class StringOperations
Static Methods
| Signature | Returns | Description |
|---|---|---|
div(String, String) | String[] | Splits the string 'a' by the delimiter 'b' and returns an array of substrings. |
div(String, int) | String[] | Splits the string 'a' into substrings of length 'b' and returns an array of substrings. |
sub(String, String) | String | Removes all occurrences of the substring 'b' from the string 'a'. |
sub(String, int) | String | Removes the last 'b' characters from the string 'a'. |
mul(String, int) | String | Repeats the string 'a' 'b' times and returns the resulting string. |
modulus(String, int) | String | Returns the substring of 'a' starting from the index 'b'. |
equals(String, String) | boolean | Checks if the string 'a' is equal to the string 'b'. |
equals(String, char) | boolean | Checks if the string 'a' is equal to the character 'b'. |
equals(String, int) | boolean | Checks if the string 'a' is equal to the integer 'b' after parsing. |
equals(String, float) | boolean | Checks if the string 'a' is equal to the float 'b' after parsing. |
equals(String, long) | boolean | Checks if the string 'a' is equal to the long 'b' after parsing. |
equals(String, double) | boolean | Checks if the string 'a' is equal to the double 'b' after parsing. |
equals(String, boolean) | boolean | Checks if the string 'a' is equal to the boolean 'b' after conversion. |
notEquals(String, String) | boolean | Checks if the string 'a' is not equal to the string 'b'. |
notEquals(String, char) | boolean | Checks if the string 'a' is not equal to the character 'b'. |
notEquals(String, int) | boolean | Checks if the string 'a' is not equal to the integer 'b' after conversion. |
notEquals(String, float) | boolean | Checks if the string 'a' is not equal to the float 'b' after conversion. |
notEquals(String, boolean) | boolean | Checks if the string 'a' is not equal to the boolean 'b' after conversion. |
higherThan(String, String) | boolean | Checks if the length of string 'a' is greater than the length of string 'b'. |
higherEqualThan(String, String) | boolean | Checks if the length of string 'a' is greater than or equal to the length of string 'b'. |
higherThan(String, int) | boolean | Checks if the length of string 'a' is greater than the integer 'b'. |
higherEqualThan(String, int) | boolean | Checks if the length of string 'a' is greater than or equal to the integer 'b'. |
lessThan(String, String) | boolean | Checks if the length of string 'a' is less than the length of string 'b'. |
lessEqualThan(String, String) | boolean | Checks if the length of string 'a' is less than or equal to the length of string 'b'. |
lessThan(String, int) | boolean | Checks if the length of string 'a' is less than the integer 'b'. |
lessEqualThan(String, int) | boolean | Checks if the length of string 'a' is less than or equal to the integer 'b'. |
toUpper(String) | String | Converts the string 'a' to uppercase. |
toLower(String) | String | Converts the string 'a' to lowercase. |
invert(String) | String | Reverses the string 'a'. |