first 22 characters of filename

Hi, How can i write first 22 character of part filename in drawing title? For example;

solid file name --> 40-06-01-11-00-5-01-01_sag_motor_destek_parcasi.sldprt

in drawing title --> 40-06-01-11-00-5-01-01

is it possible without write a macro?

Not: please look at the attach.

SolidworksApi macros