I\'m building a website with Python/Django. Users submit tags. Each tag can contain multiple words. Each tag has an ID number. I want to make sure tags that are formatted sl
There could be many white spaces like below:
var = " This is the example of how to remove spaces "
Just do simple task like, use replace function:
realVar = var.replace(" ",'')
Now the outpur would be:
Thisistheexampleofhowtoremovespaces
Just Chill......... :-)