File: README.md

Recommend this page to a friend!
  Classes of Ravindu Taveesha  >  PHP Word Search in Array  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Word Search in Array
Search a word in a 2 dimension array of characters
Author: By
Last change:
Date: 3 years ago
Size: 489 bytes
 

Contents

Class file image Download

word-search

Search a word in a 2d array of characters using PHP

A word can me matched in 8 directions, The 8 directions are horizontally left, horizontally right, vertically up and 4 diagonal directions.

below example, in this string word FEED can be found in diffrent places

"KEEDKFORFEEDS|GEEESQUIZFEED|EEEQAPRACTICE|FEEGEEJACTICE|GEEQAPRACTICE|FEEDAPRACTICE|KEEKKFORFEEDS"

This class is help to find all occurances of word by converting string into 2d array.

word-search


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