Human: Trimming a string Assistant: 
Here is some code to trimming a string "  Hello\n" by space

'  Hello\n'.strip(' ')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.