Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
T : String := S (I .. J - 1);
(def t (subs s i j))
var t = s.Substring(i, j - i);
auto t = s[i .. j];
var t = s.substring(i, j);
t = String.slice(s, i..j-1)
T = string:sub_string(I, J-1).
character(len=:), allocatable :: t
t = s(i:j-1)
t := string([]rune(s)[i:j])
def t = s[i..<j]
t = drop i (take j s)
let t = s.substring(i, j);
let t = s.slice(i, j);
String t = s.substring(i,j);
val t = s.substring(i, j)
(setf u (subseq s i j))
local t = s:sub(i, j - 1)
$t = mb_substr($s, $i, $j-$i, 'UTF-8');
t := copy(s,i+1,j-i);
my $chunk = substr("now is the time", $i, $j);
t = s[i:j]
t = s[slice(i, j)]
t = s[i..j-1]
val t = s.substring(i, j)
(define t (substring s i j))
t := s copyFrom: i to: j - 1.
Dim t As String = s.Substring(i,j)