need expression

Certified Senior Developer

How to express this statment in code format:

if ri!service is null, just return ri!service
else 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

Top Replies

Parents Reply
  • 0
    Certified Senior Developer
    in reply to karthikkanjerla

    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.

Children