Four Stars

Remove string after "."(dot) from string

Hi Experts

 

I have to remove string after "."(dot) like "abcik.tarh". My output should come "abcik"

Kindly help for the same.

 

 

Regards

Nizam

1 ACCEPTED SOLUTION

Accepted Solutions
Twelve Stars TRF
Twelve Stars

Re: Remove string after "."(dot) from string

Hi,

Use a simple regex for that.

Assuming the field name is fullname and the flow name is row43, here is an example:

row43.fullname.replaceAll("\\..*$", "")

Hope this helps.


TRF
1 REPLY
Twelve Stars TRF
Twelve Stars

Re: Remove string after "."(dot) from string

Hi,

Use a simple regex for that.

Assuming the field name is fullname and the flow name is row43, here is an example:

row43.fullname.replaceAll("\\..*$", "")

Hope this helps.


TRF