Hello,
I want to split a year value and just capture the last two digits.
For example:
Input: 2019
Desired Outuput: 19
I was trying with:
Split(outputs('Compose_year'),'')
But the result is '2019', not the expected '2','0','1','9'... there's no character separation.
How could i split this?
Solved! Go to Solution.
Use the expression function substring('2019',2,2)
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video Tutorials
Use the expression function substring('2019',2,2)
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHi @LuisGuzman98,
Do you want to process the year value, does it have the month and day value? If it does, you can use the formatDateTime() function as below:
If it is only '2019', you can refer to @abm 's method.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
86 | |
60 | |
51 | |
43 | |
38 |
User | Count |
---|---|
89 | |
81 | |
74 | |
62 | |
44 |