Rubyã®ç¹å®ã®æååã®ã«ã¦ã³ãã«ã¤ãã¦ã®è³ªåã§ãã line = "1001235" p line.count("10") ããã§"10"ã¨ããçµã¿åããã®çãã1ããåºããããã§ããã©ããã§ã¯1ã¨0ã®åºã¦ããåæ°ã®ã4ããåºã¦ãã¾ãã¾ãã Rubyã®ç¹å®ã®æååã®ã«ã¦ã³ãã«ã¤ãã¦ã®è³ªåã§ãã line = "1001235" p line.count("10") ããã§"10"ã¨ããçµã¿åããã®çãã1ããåºããããã§ããã©ããã§ã¯1ã¨0ã®åºã¦ããåæ°ã®ã4ããåºã¦ãã¾ãã¾ãã ã©ããã£ã¦æ¹åããã°ããã®ã§ããããï¼
{{#tags}}- {{label}}
{{/tags}}