[erlang-questions] substr and sub_str ??

Anders Nygren <>
Tue Jul 27 19:48:39 CEST 2010


On Tue, Jul 27, 2010 at 12:46 PM, Wes James <> wrote:
> Yes - I see now as others pointed out also.
>
> thx,

Also see the note at the end of the documentation

"Some of the general string functions may seem to overlap each other.
The reason for this is that this string package is the combination of
two earlier packages and all the functions of both packages have been
retained."

/Anders

>
> -wes
>
>
> On Tue, Jul 27, 2010 at 11:29 AM, Erik Bogghed <> wrote:
>>
>> Well, they have a slightly different behavior as you can see in the documentation and in the example. At least that is
>> what I can see :-).
>>
>> Erik
>>
>> On 27 jul 2010, at 19.15, Wes James wrote:
>>
>>> I'm just curious as to why in:
>>>
>>> http://www.erlang.org/doc/man/string.html
>>>
>>> there is substr and sub_string - they look indentical?
>>>
>>> thx,
>>>
>>> -wes
>>>
>>> ________________________________________________________________
>>> erlang-questions (at) erlang.org mailing list.
>>> See http://www.erlang.org/faq.html
>>> To unsubscribe; mailto:
>>>
>>
>>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list