I have a list:
[Sat, 06 Dec 2003 14:17:50 +0000, Sat, 06 Dec 2003 14:18:52 +0000, Fri, 26 Oct 2018 02:59:21 +0000]
How can I parse Oct 2018 only?
I have a list:
[Sat, 06 Dec 2003 14:17:50 +0000, Sat, 06 Dec 2003 14:18:52 +0000, Fri, 26 Oct 2018 02:59:21 +0000]
How can I parse Oct 2018 only?
BLOCK:ConstantList
value = ["asd,asfsf", "asf", "asfasf", "asfasff"]
=> VAR @constantListOutput
ENDBLOCK
BLOCK:GetListLength
list = @constantListOutput
=> VAR @getListLengthOutput
ENDBLOCK
getListLengthOutput = getListLengthOutput - 1;
BLOCK:ConstantString
value = @constantListOutput[getListLengthOutput]
=> VAR @constantStringOutput
ENDBLOCK
I actually want to parse the latest date not just the index number. Sorry for the confusion.
Using C# you can also do this
BLOCK:ConstantList
value = ["a", "b", "c"]
=> VAR @myList
ENDBLOCK
string last = myList.Last();
c remains unchanged
check it out