IA 8 - \"Replace String\" doesnt work anymore

Got a problem you cannot solve? Try here.
Post Reply
Bjarne
Posts: 100
Joined: Mon Apr 07, 2008 2:38 am
Contact:

IA 8 - \"Replace String\" doesnt work anymore

Post by Bjarne »

Upgraded to IA8 some time ago...and found that "Replace String" has stopped working. It doesn't replace NEWLINE with [nothing] as it should (and did in IA7). Its used in my case for replacing NEWLINE when retrieving web sites...

/B
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Post by jweksej »

It does not work in any case (v.8). How to get info in which version it was fixed?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Do you care to post some sample code and expected input and output?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Post by jweksej »

Code:
Set Variable TMP to AAA$NEWLINE$BBB$NEWLINE$CCC
Write into Text File $LOG_FILE$ from Value TMP before: '$TMP$' (at end of file)
Replace $NEWLINE$ with ; in variable TMP
Write into Text File $LOG_FILE$ from Value TMP after: '$TMP$' (at end of file)

Output:
TMP before: 'AAA
BBB
CCC'
TMP after: 'AAA
BBB
CCC'

It worked fine in previus version.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Reproduced and escalated, thank you for reporting.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Are you also experiencing other abnormalities in string parsing functions such as Parse String? Please let me know so I can escalate them as well as part of the same ticket.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply