Hello,
If I were given the string “06/05/21 00:00:00” and after the space in between those two substrings I would like to trim the “00:00:00” to end up with only “06/05/21”. How could I achieve this?
Hello,
If I were given the string “06/05/21 00:00:00” and after the space in between those two substrings I would like to trim the “00:00:00” to end up with only “06/05/21”. How could I achieve this?
Give a try on yourstringvar.substring(0,8)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.