To share this page click on the buttons below;
Strings
Find
To find a certain sub-string
within a string
starting from the start-index
up to the stop-index
(of string
)
<string>.split(<sub-string-to-search>, <start-index>, <stop-index>)
<start-index>
and <stop-index>
are optional
it returns the index of the first occurrence or -1 if the string cannot be found
Split
To split a string in a list of string according to a certain separator in the string
<string>.split(<separator>)
Join
To join a list of strings into a single string
<separator>.join(<string>)
<separator>
can be "empty" (''
) to join string without separator
To share this page click on the buttons below;