Anonymous user
Strip a set of characters from a string: Difference between revisions
Strip a set of characters from a string (view source)
Revision as of 09:13, 6 June 2011
, 13 years ago→{{header|OCaml}}
(added python) |
|||
Line 20:
let rec aux i j =
if i >= len then String.sub res 0 j
else
else begin
aux (succ
end
in
aux 0 0</lang>
|