Replace string with new line. How?

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

azp

Client
Регистрация
26.12.2012
Сообщения
52
Реакции
3
Баллы
8
I need to replace part of string with new lines.
Text processing ->replace does not work - it replaces searched string with "\n" instead of new line.
Tried with c# , probably getting there but need help :)

Код:
Развернуть Свернуть Копировать
var doms=project.Variables["doms"].Value;
var reg = new System.Text.RegularExpressions.Regex.Replace(doms,":",Environment.NewLine);
return reg;
 
 
  • Спасибо
Реакции: azp и CSS
So it seems {-String.Enter-} does not work when using Keystrokes Emulation, new lines made from {-String.Enter-} are ignored and had to be replaced with {ENTER}
 

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