Use the =~
operator to check if a string on the left-hand-side includes a substring on the right-hand-side:
One application of =~
in Phoenix is in controller tests:
Use the =~
operator to check if a string on the left-hand-side includes a substring on the right-hand-side:
One application of =~
in Phoenix is in controller tests: