Login +

Documentation

SLS_String::getBoundContent

Since SillySmart 1.0

Description

Return the content delimited by 2 bounds
static array getBoundContent ( string $contentSrc, string $boundLeft, string $boundRight);

Parameters

  • string $contentSrc
    haystack
  • string $boundLeft
    left bound
  • string $boundRight
    right bound

Return

array
array of results of found occurrences

Exemples

  •  var_dump(SLS_String::getBoundContent("
    • laurent@sillysmart.org
    • florian@sillysmart.org
    • charles@sillysmart.org
    ","
  • ","
  • ")); // will produce : array("laurent@sillysmart.org", "florian@sillysmart.org", "charles@sillysmart.org" )

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.