You are here

Simple removal of substring - can't get it to work

3 posts / 0 new
Last post
chjohans
Offline
Donator
Joined: 10 years
Last seen: 4 months
Simple removal of substring - can't get it to work

I'm trying to do a simple thing like rem,oving the substring " (HD)" from my guide's titles and subtitles:

index_title.modify {remove| (HD)}
index_subtitle.modify {remove| (HD)}

Looks simple enough but for some reason it won't work. I've tried various combinations with and withoput escaping the open/close parentesis in case that's needed but still won't work.

What's the correct syntax here?

chjohans
Offline
Donator
Joined: 10 years
Last seen: 4 months

Thanks for being so helpful :)

I'm actually trying to modify your rev4 of starhubgo.com.ini to remove any " (HD)" from title and subtitle, you had this in ther:

index_title.modify {remove| [HD]}

And this:

index_subtitle.modify {remove| [HD]}

So I figured to remove "(HD)" I could just add a modified copy of that, but it didn't work. I stillend up with " (HD)" at the end of title and subtitle for a lot of programs in my guide.

chjohans
Offline
Donator
Joined: 10 years
Last seen: 4 months

Thanks a lot, much appreciated! yes

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl