Answers for "Return the string without any whitespace at the beginning or the end"

0

Return the string without any whitespace at the beginning or the end

txt = " Hello World "
x = txt.strip()
Posted by: Guest on June-03-2021

Code answers related to "Return the string without any whitespace at the beginning or the end"

Browse Popular Code Answers by Language