Hi Guys,
I need to extract phrases / words into an array from a string. The current code I am using is shown below, but it doesn't work as intended.
Here is the output i would like to see from the folowing string:
STRING:
Output should be:Code:"technical writer" "documentation manager" "technical author"
STRING:PHP Code:<?php
Array
(
[0] => technical writer
[1] => documentation manager
[2] => technical author
)
?>
Output should be:Code:"technical writer" and "documentation manager" and "technical author"
PHP Code:<?php
Array
(
[0] => technical writer
[1] => and
[2] => documentation manager
[3] => and
[4] => technical author
)
?>



Reply With Quote


Bookmarks