removeVariableText

removeVariableText

BASIC / ADVANCED / PREMIUM

Removes text placeholder variables from the Excel spreadsheet.

Description
public removeVariableText($variables, $options = array())

This method allows to remove text placeholder variables.

Parameters

$variables

Array of variables to remove.

options

Key Type Description
target string sheets (default) [sharedStrings XML content], headers, footers, comments.
Code samples

Example #1

Release notes
  • phpxlsx 1.0:
    • new method.