How many items when I split

Discuss RoboTask here
Post Reply
adgus
Posts: 3
Joined: Sun Feb 06, 2022 4:23 pm

How many items when I split

Post by adgus »

How can I check how many items do I get in a split variable ?

ORIGINAL TEXT:
a;3;4;5

How can I know, I got 4 items ?
adgus
Posts: 3
Joined: Sun Feb 06, 2022 4:23 pm

Re: How many items when I split

Post by adgus »

I found a way to do this.. dont know if this is the best way..

with the action TXT Number of Lines
using the Text: {CommaSeparatedToText({variable})}

Am I right ?
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: How many items when I split

Post by Oleg »

Am I right ?
Yes. This is a solution.

Also look at the action TXT Comma-Text Conversion if you use some complex text or string.
Oleg Yershov
Post Reply