EN
String - find, get, search common problems (Cross technology)
0
points
String - common problems (find, get, search)
Problem | Cross | JS/Node | Java | C# | Python | Bash | PHP | C++ |
---|---|---|---|---|---|---|---|---|
find character index in string | link | link | link | link | link | - | - | - |
find text in string | link | link | link | link | link | - | - | - |
get first 2 characters from string | link | link | link | link | ||||
get first 3 characters from string | link | link | link | link | link | - | - | - |
get first character from string | link | link | link | link | link | |||
get first n characters from string | link | link | link | link | ||||
get index of pattern in string using regex | link | link | ||||||
get last 2 characters from string | link | link | link | link | ||||
get last 3 characters from string | link | link | link | link | link | - | - | - |
get last character from string | link | link | link | link | link | |||
get last n characters from string | link | link | link | link | ||||
get substring from string | link | link | link | link | link | - | - | - |