Ask a Question related to PHP Development, Design and Development.
-
RuBenz #1
Patterns
Hi !
I've got a simple looking problem, do maybe someone will have simple, short
solution for it.
I hava a string whis is an expression e.g.:
'$a + $b / $c - abs($d)'
As you can see there are vars in it.
What I want to do is to get names of all these vars, that is: $a, $b, $c and
$d.
I appreciate any help
Robert
RuBenz Guest
-
Add Patterns to Pie Charts
Aaaahhhaaha can I vent. (I'm mostly done). I'm trying to bring in some excel charts into Indesign. I've read to turn them into .pdf's. Or... -
Printing Patterns
Has anyone run into a problem printing an Illustrator document that uses patterns? I'm on CS and can not print. It will send to my printer, but the... -
fh9 cannot export patterns to swf?
Hi! try to make a shape fill with pattern, it will not export it with the pattern... why ? & how to overcome that? -
Dir.foreach not with patterns?
--Boundary-02=_GKgY/p64avOG7gO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description:... -
Actions and patterns.
Just a quick question here..... Ive often created actions that use patterns. My actions also create the patterns that are used in them. (2 seperate... -
Dmitry Ruban #2
Re: Patterns
Hey RuBenz
This is what came up my mind:
$str = "\$a + \$b / \$c - abs(\$d)";
preg_match_all ( "/(\\$[\w]+)/", $str, $matches);
print_r ( $matches );
Dima
"RuBenz" <konrad@icpnet.pl> wrote in message
news:bm4s4r$9gp$1@topaz.icpnet.pl...short> Hi !
>
> I've got a simple looking problem, do maybe someone will have simple,and> solution for it.
> I hava a string whis is an expression e.g.:
> '$a + $b / $c - abs($d)'
> As you can see there are vars in it.
> What I want to do is to get names of all these vars, that is: $a, $b, $c> $d.
> I appreciate any help
>
> Robert
>
Dmitry Ruban Guest
-
RuBenz #3
Re: Patterns
> This is what came up my mind:
Thanks !>
> $str = "\$a + \$b / \$c - abs(\$d)";
> preg_match_all ( "/(\\$[\w]+)/", $str, $matches);
> print_r ( $matches );
>
> Dima
That's what I was looking for !
RuBenz
RuBenz Guest



Reply With Quote

