extract sub string

extract sub string