> ex: > //this fails with -betterC > import std.string : split; > return "int x; ,".split(",")[0]; Sorry, countUntil is a better example > //this fails with -betterC import std.algorithm : countUntil; auto index = "int x; ,".countUntil(";");