Devam Ediyor

483101 seek text

I have some stings about 2000 words long and the positions of each word. Example "funny" is in position 13 (13th word from the start of the text)

What i need is to seek to the 13th word (funny) and show an extraction of around 15 words like a search engine does with a page

You can use regex as im only parsing 10 strings at a time

//**this is just an example, feel free to use your own method**//

$string = "I cant believe its not butter";

$word_position = 3; //believe (already predetermined)

$seek_forward = 15; //how many words to move from 13th position

$seek_back = 5; //max words it will seek back without finding a capital character (see below)

//output : seek back to the start of the sentence aka the capital "I" so you will need to match an upper case letter before the word position and show 15 or so words after this

..I cant believe its not...

Beceriler: Her şey Kabul, PHP, SEO

Daha fazlasını görün: what is seek, what is a search string, the seek, text to string, text string search, string match, seek seek, seek search, seek positions, seek it, seek i, seek c, seek and see, seek a, search text string, search seek, search character in string, regex match words, regex is, regex example, match string, it seek, i seek, how to butter, finding match

İşveren Hakkında:
( 22 değerlendirme ) Sydney, Australia

Proje NO: #2229011

1 freelancer bu iş için ortalamada 50$ teklif veriyor

gutibs

Hello, please check PMB for details. Thanks!

in 0 gün içinde50$ USD
(121 Değerlendirme)
6.6