T : String := S (I .. J - 1);
char *t=malloc((j-i+1)*sizeof(char));
strncpy(t,s+i,j-i);
auto t = s.substr(i, j-i);
var t = s.Substring(i, j - i);
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])
let t = s.substring(i, j);
String t = s.substring(i,j);
val t = s.substring(i, j)
local t = s:sub(i, j - 1)
t=[s substringWithRange:NSMakeRange(i,j-i)]
$t = mb_substr($s, $i, $j-$i, 'UTF-8');
my $chunk = substr("now is the time", $i, $j);
let mut iter = s.grapheme_indices(true);
let i_idx = iter.nth(i).map(|x|x.0).unwrap_or(0);
let j_idx = iter.nth(j-i).map(|x|x.0).unwrap_or(0);
let t = s[i_idx..j_idx];
let t = s.substring(i, j);
let t = s.graphemes(true).skip(i).take(j - i).collect::<String>();
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)