Note:

You are viewing a development version of the library. Goto the latest version.

let sub_start str len = 
  let str_len = String.length str in
  if len >= str_len then
    ""
  else
    String.sub str len (str_len - len)