[SOLVED] Count number of characters?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I would like to count the total characters (taken from a page's title and put to a variable). How can I do this in word processing?

Assuming this can be done, how do I set a range? For example only keep the results if title is between 10-15 characters?

Thanks!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
  • Спасибо
Реакции: shabbysquire

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Thanks, I forgot my brain this morning!:rolleyes:

So the solution provided by bigcajones is great for counting the characters. Is it possible to do IF action to check if total of characters are, for example, between 10-15? (I've tried to locate answer in search, but no luck).
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Try this:

{-Variable.a-}>9&&{-Variable.a-}<16

I think it should work.
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28

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