Slice in Naming Rule using Expression

Hi, is there anyway to slice a string in naming rule using Expression ?

image