PHP Classes

File: example.php

Recommend this page to a friend!
  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: 19 years ago
Size: 339 bytes


Class file image Download


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


For more information send a message to info at phpclasses dot org.