String#stripã¯æåååå¾ã®ç©ºç½ãåé¤ãã¾ãã " Hello, world! ".strip #=> "Hello, world!" String#strip!ã¯æåååå¾ã®ç©ºç½ãåé¤ãã¾ãï¼ç ´å£çã¡ã½ããï¼ã >> " Hello, world! ".strip => "Hello, world!" >> "\t\t\tHello, world!\n\n\n".strip => "Hello, world!" >> s = " Hello, world! " => " Hello, world! " >> s => " Hello, world! " >> s.strip => "Hello, world!" >> s => " Hello, world! " # String#strip ã¯éç ´å£ç >> s.strip! => "Hello, world!" >> s =
{{#tags}}- {{label}}
{{/tags}}