Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.17 KB

onion_string.md

File metadata and controls

48 lines (26 loc) · 1.17 KB

Module onion_string

String Utility API.

Authors: Alexander Færøy (ahf@0x90.dk).

Function Index

format/2
valid/2Check a given string if it validates against a given alphabet.

Function Details

format/2


format(Format, Data) -> string()
  • Format = string()
  • Data = [term()]

valid/2


valid(String, Alphabet) -> boolean()
  • String = string()
  • Alphabet = string()

Check a given string if it validates against a given alphabet.

This function checks a given string if all of its characters are a member of a given alphabet.