INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Inconsistent behaviour of the 'Replace' function (possible bug or is it me?)  (Read 1599 times)

Spike1000

  • Citizen of the Universe
  • *****
  • Posts: 641

This test demonstrates the issue I've seen.

Take these two tag fields:
Artist:       Artist1/Artist2
Album Artist:    Artist1/Artist2

Use these functions to replace the '/' in each field with '; ' (semi colon and a space)

=replace([Artist],//,; )
=replace([Album Artist],//,; )

Result
Artist:       Artist1; Artist2
Album Artist:    Artist1;Artist2

In Artist the space is there after the ; in Album Artist the space is missing.

Is it my function or an issue with MC (ver 22.0.55) as both results should be identical?

Spike

leezer3

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1588

Album Artist is a semi-colon deliminated list field.

I'd assume that some internal logic is removing the padding from before the field spacer, so not really a bug IMHO.
Logged

Spike1000

  • Citizen of the Universe
  • *****
  • Posts: 641

Ah ha, that'll explain it. Thanks for that.

Spike
Pages: [1]   Go Up