& in variables values and switch operation

  • Автор темы Автор темы jcknick
  • Дата начала Дата начала

jcknick

Client
Регистрация
10.05.2013
Сообщения
154
Реакции
9
Баллы
18
Hi, I have a function that needs to compare two lines of texts and I use switch to decide what to do if they are similar.

The issue that I have come across is that if the text in any of the compared variables contains "&" - the Switch doesn't do anything and gives me "Action not executed" alert.

Can it be bypassed anyhow? Or should I just use word processing and replace & in both variable values?
 
Standard Switch action works with strings with &
How to reprocude?
 
Waiting for another instance of this issue. Will post here asap.
 
Or, I think that it should work any way

Try putting this string

VariableA = It's all bits & pieces
VariableB = It's all bits & pieces

And in the switch, put this logic

00000210.png


And run it. It works perfectly when the compared strings don't contain "&" but breaks the process as soon "&" is in the way.
 
"Debug thread error" is a bug) it's fixed for next build. it will work OK in ZennoPoster. This problem appears in PM only
 
Perfect! :) Thanks a bunch as usual Rostonix!
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)