Function __global->clean_comcode_for_spellcheck

Definitions

sources/spelling.php

  • Clean some Comcode for use in the spellcheck.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$comcode string No No required parameter N/A N/A Input string

Returns

  • Cleaned
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Clean some Comcode for use in the spellcheck.
 *
 * @param  string $comcode Input string
 * @return string Cleaned
 */

function clean_comcode_for_spellcheck(string $comcode) : string