Strings¶
String methods¶
str_len()
- returns the length of the string.str_find(string, index)
- returns the character at the specified index.str_slice(string, start, end)
- returns the substring from the specified start index to the specified end index
methods.rn | |
---|---|
String operators¶
+
(concatenation)*
(repetition)
operators.rn | |
---|---|
String type casting¶
str()
- converts any value to a string
casting.rn | |
---|---|
String type checking¶
is_str()
- returnstrue
if the value is a string, otherwisefalse