Erin Holloway
2021-02-12 05:35:26 UTC
Hi there,
I am trying to count the number of '~' in my string variable which looks like:
oos_service_dates_CONCAT
2020-10-20~2020-10-29~2020-11-05~2020-11-12~2020-12-03
2020-10-20~2020-10-27
2020-10-21
Essentially the plan is to count the dates by counting the number of deliniators (~) and then add one.
I have tried this, which runs, but every case is '0'
COUNT OoS_Count=oos_service_dates_CONCAT('~').
Any ideas??
Thanks in advance
Erin
I am trying to count the number of '~' in my string variable which looks like:
oos_service_dates_CONCAT
2020-10-20~2020-10-29~2020-11-05~2020-11-12~2020-12-03
2020-10-20~2020-10-27
2020-10-21
Essentially the plan is to count the dates by counting the number of deliniators (~) and then add one.
I have tried this, which runs, but every case is '0'
COUNT OoS_Count=oos_service_dates_CONCAT('~').
Any ideas??
Thanks in advance
Erin