if i delete those lines with printf, my string is being corrupted. An Example:
My initial string is
" YEHA"
after manipulating it, i want to have
YEHA
without printf-lines i will have
YEHA""
It seems, that the length of string will not be changed while replacing in that way. I tried to use erase, but this won't work either - were is my mistake?