*! version 1.2.0 02jun2011

Title

lcbsa -- Type dummies and then a string variable and Stata will create a dummy for each value of that variable
DUMMIES WILL clean spaces out of your variable and replace them with an "_" but will not change the core variable!

example1:

payor has 3 values that are all strings, (self, private, other)

dummies payor

will create three dummies titled:

self
private
other

example2:

clear
set obs 4
gen var1="hey you" if _n<=2
replace var1="hello_world" if _n>=3

dummies var1

hey_you and hello_world are now dummies, but var1 still has original spaces