Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 removing spaces/tabs after used .strip()
#1
hi guys,

how can i removes spaces/tabs in case like this? It supposed to be in 1 line
İmage


It comes from 'div'.text.strip()


#EDIT:

Ok, i guess i should use .split() and then ''.join()

#EDIT2:

Yes, i was right :P
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Setting Tabs in a listbox scratchmyhead 2 97 Nov-12-2019, 11:18 PM
Last Post: scratchmyhead
  White spaces kdiba 1 213 Oct-08-2019, 06:52 PM
Last Post: Aurthor_King_of_the_Brittons
  split strip issues 'NonType' casacafe 8 235 Oct-08-2019, 06:29 PM
Last Post: ichabod801
  strip off just newlines Skaperen 11 610 Jun-19-2019, 06:28 PM
Last Post: Skaperen
  strip space from end of a row of text ineuw 4 375 Apr-15-2019, 03:14 AM
Last Post: ineuw
  removing tabs from input text jenya56 3 395 Mar-28-2019, 03:10 PM
Last Post: DeaD_EyE
  Why interpreter accepts indentation made with spaces and not those by tabs sylas 13 1,236 Jan-10-2019, 11:17 PM
Last Post: texadactyl
  How to remove whitespace from a string when .replace and .strip do not work winnetrie 7 651 Jan-05-2019, 08:44 AM
Last Post: DeaD_EyE
  Why doesn't strip work? cybervigilante 5 872 Dec-27-2018, 02:21 AM
Last Post: metulburr
  How to handle paths with spaces in the name? zBernie 1 483 Nov-22-2018, 04:04 AM
Last Post: ichabod801

Forum Jump:


Users browsing this thread: 1 Guest(s)