Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Elixir でサブビット文字列が別のビット文字列と共に存在するかどうかを調べるにはどうすればよいですか? テスト目的で、ビット文字列 X がビット文字列 Y 内のどこかに存在することを確認する必要があります。既存の関数でこれを行う簡単な方法はありますか?
x = "bar" y = "foo bar baz" some_substring_function(x, y)
真の値をsome_substring_function返します。
some_substring_function
前もって感謝します!