Save contents of slot item to a variable

Is there anyway to read content of an item in a slot added with a template to a variable. I have a brief item, added to a page item using breifTemplA. I would like to read the contents of breifTemplA to a string, so I can process the output, and do some comparisons in the page template. Is that possible to save the contents from a slot to a string variable?