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

Content deleted Content added
Loudogni (talk | contribs)
Vilmer (talk | contribs)
Line 86:
| <code>''string''.[''i'']</code>
|[[OCaml]], [[F Sharp (programming language)|F#]]
|0
|-
| <code>''string''.chars().nth(''i'')</code>
|[[Rust]]
|0
|-
Line 217 ⟶ 221:
" Example in Smalltalk "
'Hello, World' at: 2. "$e"
</syntaxhighlight>
 
<syntaxhighlight lang="rust">
//Example in Rust
"Hello, World".chars().nth(2); //'l'
</syntaxhighlight>
<!-- endsection -->