function to get property string
more matching