Index

(text)

o2txt_center

string o2txt_center(string $text, integer $width, integer $indent, string $indent_chr, string $fill_chr)

Format text as splitted in two parts, one aligned to left, the other aligned to right


Parameters:
  1. $text
  2. Text to be aligned to left
  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
  9. $fill_chr
  10. Character to be used to fill space out of text