Problems with Strings
Fri Mar 28 11:12:08 CET 2003
Thank you very much for the answers.
I was trying to rewrite that function because it was part of my current
I just get the idea!
After looking at the API more carefully, I realized that to concat two
strings you should use ++ (I know it's sounds silly but I was confused
with other languages).
So I'll rewrite it as:
inversa("") -> "";
inversa([A1|A]) -> inversa(A) ++ [A1].
More information about the erlang-questions