H/substr

use a singleton