--- In [EMAIL PROTECTED], "Steve Fisher" <[EMAIL PROTECTED]> wrote:
> I have a bar with one button containing:
> 
> *Info expr(win.caption("*ovs*")) 
> 
> which gives for example from the ball by ball updates on BBC website:
> 
> Ind 97-5 23.0 ovs - Mozilla Firefox
> 
> How can I lose the Mozilla Firefox bit?? I tried replacechar, but I
> can't seem to get the syntax right.

You should use "replacechars", not "replacechar".

replacechars(win.caption("*ovs*")," - Mozilla Firefox","")
remove(win.caption("*ovs*"),-18)
select(win.caption("*ovs*"),revindex(win.caption("*ovs*"),"-")-1)
...

Sean



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to