[erlang-questions] substr and sub_str ??
Robert Virding
<
>
Tue Jul 27 19:30:20 CEST 2010
Arguments are different:
substr(String, Start) -> SubString
substr(String, Start, Length) -> Substring
sub_string(String, Start) -> SubString
sub_string(String, Start, Stop) -> SubString
Two different philosophies.
Robert
On 27 July 2010 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:
>
>
More information about the erlang-questions
mailing list