Forum


Replies: 1   Views: 81
How to align text to left and right both at a time

Posted by fairshareitservices  · 30-09-2024 - 07:17

I have a string that I can divide into two strings based on <align>. Then after that, for the first string I have to align at the left, and for the second string I have to align at the right of a table cell. How can I achieve this for code below
 

 $docx = new CreateDocx();

    $wf = new WordFragment($docx);

    $text = array();

    $inputExploded=explode('<align>',$inputText);