EN
String - common problems (Cross technology)
6
points
String - common problems (Cross technology)
Problem | Cross | JS/Node | Java | C# | Python | Bash | PHP | C++ |
---|---|---|---|---|---|---|---|---|
check if string is empty | link | link | link | - | link | link | - | - |
check if string only contains numbers | link | link | link | - | link | - | - | - |
check if string contains only digits | link | link | link | - | link | - | - | - |
check string length | link | link | link | link | link | - | - | - |
compare strings | link | link | link | - | link | - | - | - |
count character occurrences | link | link | link | link | ||||
generate random string of size n characters | link | link | link | - | link | - | - | - |
insert unicode character to string | link | link | link | link | ||||
iterate through string | link | link | link | - | link | - | - | - |
no-break / non-breaking space in string | link | link | link | link | ||||
reverse string | link | link | link | link | link | - | - | - |
reverse words in a given string | link | link | link | link | link | - | - | - |
split string by hyphen sign | link | link | link | - | link | - | - | - |
split string by new line character | link | link | link | link | link | - | - | - |
split string by space character | link | link | link | link | link | - | - | - |
split string with more than 1 space between words | link | link | link | link | link | - | - | - |
trim whitespace from string | link | link | link | - | link | - | - | - |
Note:
TODO: check empty cells in dirask search and paste links.