Index

(text)

o2txt_justify

string o2txt_justify(string $text, integer $width, integer $indent, string $indent_chr)

Format text as justified


Parameters:
  1. $text
  2. Text to format
  3. $width
  4. Width to format text to
  5. $indent
  6. Number of characters for indentation
  7. $indent_chr
  8. Character to be used for indentation