playMaker

Author Topic: How can I remove all (Clone) text from a string?  (Read 1052 times)

Silicon Power

  • Full Member
  • ***
  • Posts: 186
How can I remove all (Clone) text from a string?
« 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How can I remove all (Clone) text from a string?
« Reply #1 on: April 22, 2023, 03:00:03 PM »
use string contains and if true, use substring or Replace

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How can I remove all (Clone) text from a string?
« Reply #2 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

Silicon Power

  • Full Member
  • ***
  • Posts: 186
Re: How can I remove all (Clone) text from a string?
« Reply #3 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:-*