Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Silicon Power on April 22, 2023, 01:29:04 PM

Title: How can I remove all (Clone) text from a string?
Post by: Silicon Power on April 22, 2023, 01:29:04 PM
Hi I need to remove multi (Clone) from a string variable at once is there any action for this?
thanks.
Title: Re: How can I remove all (Clone) text from a string?
Post by: djaydino on April 22, 2023, 03:00:03 PM
use string contains and if true, use substring or Replace
Title: Re: How can I remove all (Clone) text from a string?
Post by: djaydino on April 22, 2023, 03:32:57 PM
you can get the lenght, then minus the (clone) count. try how many as you need to include spaces
Title: Re: How can I remove all (Clone) text from a string?
Post by: Silicon Power on April 22, 2023, 03:37:17 PM
you can get the lenght, then minus the (clone) count. try how many as you need to include spaces

Thank you a lot the Replace action solved my issue:-*