How big is the plug you're cutting off? Is a wall wart sorta looking thing?
Also, how many LEDs are in the string? Are we talking a dozen maybe or more like 100?
My first thought is that no, you would not be able to do this. Yes, LEDs are DC devices, making DC from AC is one of their primary uses. What is likely is that the string won't light.
Good news is depending on how the string is made you might be able to re-wire it to work like you want.
'91 Pickup - Imelda
'08 Tacoma TRD - Donna
'09 Kawasaki KLR650
'12 Gunnar Rockhound 29
"To live is to suffer, to survive is to find some meaning in the suffering." -- Friedrich Nietzsche