How to Get string length?

ZenekPL

Новичок
Регистрация
11.04.2013
Сообщения
2
Благодарностей
0
Баллы
0
Hi, Can anyone tell me how in ZP Project Maker I can check Variable length ?
In PHP there is function STRLEN, how can i do this in ZP ?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
via c# code action
return project.Variables["yourVariableName"].Value.Length;
 
  • Спасибо
Реакции: ZenekPL

ZenekPL

Новичок
Регистрация
11.04.2013
Сообщения
2
Благодарностей
0
Баллы
0
Its working, thanks :-)
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
String Length
 

Вложения

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