Comparison of programming languages (string functions): Difference between revisions

Content deleted Content added
sp
m split: HTTP -> HTTPS for W3Schools using AWB
Line 2,390:
|-
! Description
| Splits the given string by occurrences of the separator (itself a string) and returns a list (or array) of the substrings. If ''limit'' is given, after ''limit'' – 1 separators have been read, the rest of the string is made into the last substring, regardless of whether it has any separators in it. The Scheme and Erlang implementations are similar but differ in several ways. JavaScript differs also in that it cuts, it does not put the rest of the string into the last element. [httphttps://www.w3schools.com/jsref/jsref_split.asp See the example here]. The Cobra implementation will default to whitespace. Opposite of ''join''.
|}
{| class="wikitable sortable"