[erlang-questions] searching in an ETS table for substring

Martin Dimitrov mrtndimitrov@REDACTED
Thu Feb 9 16:37:47 CET 2012


Hello,

Is it possible to search in an ETS table for a key that starts with
certain characters?
Something equivalent to:

SELECT * FROM table WHERE name LIKE 'some%'

I read the documentation for select/2 and it says we can use as guards
functions as is_* and the like.

Best regards,

Martin



More information about the erlang-questions mailing list