Hello,
I need to count the current day taken from my app.
The date example is: 13/01/2020
I need to count until I reach the first slash “/”.
Thanks
Hello,
I need to count the current day taken from my app.
The date example is: 13/01/2020
I need to count until I reach the first slash “/”.
Thanks
Hi
do you mean like you want the value before the first “/”
then
if input is str_input = “13/01/2020”
its like this with assign activity
str_output = Split(str_input,“/”)(0).ToString
Cheers @Veselin_Ganchev
@Palaniyappan
I mean my variable getDate is taking from my app the current day.
For example 13/01/2020
I need to count the strings before the first slash “/”
I need to count only the 13 and stop counting.
My new variable countVar need to store the result from getDate.
count what the length of the string before the first “/” or what buddy
@Veselin_Ganchev
Count the length will be enough.
Based on the split given by @Palaniyappan
Use CountVar= Split(str_input,“/”)(0).ToString
and then check it
Thanks
Ashwin S
awesome then the expression be like this
int_length= Split(str_input,“/”)(0).ToString.Length
where int_length is a variable of type int32
Cheers @Veselin_Ganchev
Thanks for the fast answer.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.