For example, given
$string = "abe[123955785adasd]jdjajd";
I want to extract the substring between the [ and ] characters, and store it in another variable.
Originally posted as a Categorized Question.
In reply to How to extract a delimited substring? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |