how to delete Space in value ?

Katana

Client
Регистрация
28.03.2021
Сообщения
80
Благодарностей
7
Баллы
8
hello,
I don't understand I can no longer remove spaces with text processing. is there another method?
thank you
 

Вложения

Katana

Client
Регистрация
28.03.2021
Сообщения
80
Благодарностей
7
Баллы
8
if anyone is looking to do the same thing, i found it through c# code

string Price = project.Variables["Price"].Value;
string newPrice = Regex.Replace(Price,@"\s","");
return newPrice;
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 218
Благодарностей
5 843
Баллы
113
if anyone is looking to do the same thing, i found it through c# code

string Price = project.Variables["Price"].Value;
string newPrice = Regex.Replace(Price,@"\s","");
return newPrice;
you can make the same in the cube:
What to search - \s
What to replace - empty
search type - Regex
 
  • Спасибо
Реакции: Katana

Katana

Client
Регистрация
28.03.2021
Сообщения
80
Благодарностей
7
Баллы
8

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