How to express this statment in code format:
if ri!service is null, just return ri!serviceelse if ri!service ends with a period,
don't include period part, otherwise do
value for ri!service: "Any days of serious level of working after March,7,2025"
Discussion posts and replies are publicly visible
if you would like to remove period use stripwith()
can you provide an example whats the input is recieved and output you are expecting?
Input is recevied as in simple text format : Any days of serious level of working after March,7,2025
output only expected: Any days of serious level of working
As the input is in text format & date or period part at the last is keep changing with every user.
so need to avoid the period part if provided by user, rest text part needed to be print.
What format does this "period" have? I mean, if this is just random text entered by a person, this becomes quite a challenge.
ya its simple text only...
any way to do this task....
You could try the generative AI capabilities.
if( right(ri!text, 1) = ".", left(ri!text, len(ri!text)-1), ri!text )