Description Usage Arguments Details Value References See Also Examples
Return TRUE
if the string str
starts with the specified
prefix
, otherwise return FALSE
.
1 |
str |
A character vector. |
prefix |
A character vector. |
start |
A numeric vector. |
end |
A numeric vector. |
With optional start
, test string beginning at that position.
With optional end
, stop comparing string at that position.
A logical vector.
https://docs.python.org/3/library/stdtypes.html#str.startswith
1 2 3 | pystr_startswith("www.example.com", "www.")
pystr_startswith("example.com", "www.")
pystr_startswith("www.example.com", "example", 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.