Hmm.... probably not how its done by VB but you could do something like this with str_replace.
For example, on my CMS I enclose titles in [title][/title]. Then have code to change it to HTML, for example:
PHP Code:
$content=str_replace('[title]','<font face="Arial" color="#000099"><big><b>',$content);
So to do something like the VB code, you could have:
PHP Code:
$stringname=str_replace('[ url=','<a href="',$stringname);
$stringname=str_replace(']','">',$stringname);
There's probably a better way, though 
|