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);