removing spaces between 2 names

half.italian at gmail.com half.italian at gmail.com
Tue May 15 02:54:54 EDT 2007


On May 14, 11:00 pm, saif.shak... at gmail.com wrote:
> Hi,
>      Suppose i have a string stored in variable,how do i remove the
> space between them,like if i have the name:
> "USDT request" in a variable.i need "USDTrequest",without any space .
>                 Thanks

s = "jk hij ght"
print "".join(s.split(" "))




More information about the Python-list mailing list