LoginSignup
1
2

More than 5 years have passed since last update.

python > link > remove CR, LF >'test string\n'.rstrip()

Last updated at Posted at 2016-03-09
動作環境
Raspberry Pi2 + raspbian

String型の文字列からCR,LFを取り除きたい。rstrip()を使うようだ。

  • 検索用キーワード
    • strip
    • lstrip
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2