Index

(text)

o2txt_split

string o2txt_split(string $text_left, string $text_right, integer $width, integer $indent, string $indent_chr, string $sep_chr)

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


Parameters:
  1. $text_left
  2. Text to be aligned to left
  3. $text_right
  4. Text to be aligned to right
  5. $width
  6. Width to format text to
  7. $indent
  8. Number of characters for indentation
  9. $indent_chr
  10. Character to be used for indentation
  11. $sep_chr
  12. Character to be used to fill space between textes