Categories
- String
- String to list of single character strings
- Repeat a String a number of times
- Multiline Strings / Heredocs
- Lowercase all characters in a string
- Get the first character in a string
- Test if a string ends with another string
- Uppercase all characters in a string
- String concatenation
- String interpolation
- Atom to string
- Join a list of strings
- Strip leading and trailing whitespace from a string
- Replace character in a string
- Split a string
- Parse string to float
- Parse string to integer
- Reverse a string
- Map
- Get a value from nested maps
- Add a key and value to a map
- Get a value from a map
- Map to keyword list
- Map to struct
- Pattern match a map
- Map syntax
- Size of a map
- Update a map value
- List
- Pattern match a list
- Get the last item in a list
- Filter list
- Concatenate lists
- Length of list
- List comprehension
- Prepend to list
- Head of a list
- Integer
- Math
- Io
- Range
- Tuple
- Keyword list
- Kernel
- Pipe operator
- Alias, Use, Import, and Require
- Pin operator
- Function capturing
- Define a Protocol
- With statement
- In operator
- Get the type of a variable
- Return early
- Truth table
- Nil
- Optional parameters
- Unless statement
- Ternary
- Module definition
- function definition
- Anonymous functions
- Cond statement
- If statement
- case statement
- Ecto
- Ecto model calculated field
- Mix generate Ecto migration
- Mix Ecto Rollback Command
- Mix Ecto Migrate Command
- Regex
- Blog post
- Sigil
- File
- Enum
- Mix
- Kernel
- Else if statement (See cond statement)
- Switch statement (See case statement)
- Boolean operators - and, or, &&, ||
- Behaviours
- Struct
View All Examples in Single Page