Getting post tags into a variable

Quick question:

What function retrieves a list of the posts tags in text separated by a space? Would the following work ?

$post_tags = the_tags('Tags:', ' ', ' ');
$post_tags = substr($post_tags,6,0);

Thanks to anyone that can assist me on this quick fix.