blob: e2dacbbf66fdef64ef430677075631c376210940 (
plain)
1
2
3
4
5
6
7
8
9
|
@import("operator.felan");
@import("types.felan");
sub_string :: (str:string, begin:i64, end:i64) -> string {
result := "";
result.ptr = str.ptr + begin;
result.length = @cast(end-begin,u64);
return result;
};
|