Erlang – any
In this guide, we will discuss Erlang any. Returns true if Pred(Elem) returns true for at least one element Elem in List. Syntax any(Pred,lst) Parameters Pred − The predicate function which…
In this guide, we will discuss Erlang any. Returns true if Pred(Elem) returns true for at least one element Elem in List. Syntax any(Pred,lst) Parameters Pred − The predicate function which…
In this guide, we will discuss Erlang all. Returns true if Pred(Elem) returns true for all elements Elem in List, otherwise false. Syntax all(Pred,lst) Parameters Pred − The predicate function which…
In this guide, we will discuss Erlang lists. The List is a structure used to store a collection of data items. In Erlang, Lists are created by enclosing the values…
In this guide, we will discuss Erlang left. The method returns the sub string from the left of the string based on the number of characters. Syntax left(str1,number) Parameters str1 −…
In this guide, we will discuss Erlang substr. The method returns the sub string from the original string based on the starting position and number of characters from the starting…
In this guide, we will discuss Erlang strThe method returns the index position of a sub string in a string. Syntax str(str1,str2) Parameters str1 − This is the string which needs…
In this guide, we will discuss chr in Erlang. The method returns the index position of a character in a string. Syntax str(str1,chr1) Parameters str1 − This is the string which…
In this guide, we will discuss concat in Erlang. The method concats 2 strings and returns the concatenated string. Syntax concat(str1,str2) Parameters str1,str2 − The 2 strings which need to concatenated.…
In this guide, we will discuss Erlang equal. The method returns a Boolean value on whether one string is equal to another. If the strings are equal, it will return…
In this guide, we will discuss Erlang len. The method returns the length of a particular string Syntax len(str) Parameters str − This is the string for which the number of…