Strings
#
anagramCheck if a string is an anagram of another string.
Property | Description | Type | Default | Required |
---|---|---|---|---|
str1 | Target string 1. | string | ✔️ | |
str2 | Target string 2. | string | ✔️ | |
insensitive | Whether it should worry about casing or not. | boolean | false |
#
charmapReturns a charmap (object) of the provided string.
Property | Description | Type | Default | Required |
---|---|---|---|---|
string | String to be checked. | string | ✔️ | |
insensitive | Whether it should worry about casing or not. | boolean | false |
#
palindromeChecks whether the provided string is a palindrome or not.
Property | Description | Type | Default | Required |
---|---|---|---|---|
string | String to be checked. | string | ✔️ |
#
reverseReverse the provided string as a whole or word by word.
Property | Description | Type | Default | Required |
---|---|---|---|---|
string | String to be edited. | string | ✔️ | |
whole | Whether the string should be separated as a whole or not. | boolean | false | |
separator | Character used as a separator in the string. | string | |
#
weird-caseTransform the supplied string to weird-casing.
Property | Description | Type | Default | Required |
---|---|---|---|---|
string | String to be edited. | string | ✔️ | |
separator | Character used as a separator in the string. | string | |