Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Johan De Klerk  >  jSearchString  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: an example
Class: jSearchString
Remove stopwords and punctuation from strings
Author: By
Last change:
Date: 11 years ago
Size: 339 bytes
 

Contents

Class file image Download
<?php

require('jSearchString.php');

// The search string, usually this would have been posted from a form
$searchString 'My search !string with punctuation ;/.,# and stopwords or not with where';

// instantiate new instance
$jSS = new jSearchString();

//output formatted string
echo $jSS->parseString($searchString);

?>