Hello Folks,
I have a sample string ETHX1234567
How can I achieve by removing “ETH” and keep “X1234567” as a variable? Thanks.
Hello Folks,
I have a sample string ETHX1234567
How can I achieve by removing “ETH” and keep “X1234567” as a variable? Thanks.
Assign Activity
strInput = “ETHX1234567”
writeline strinput.replace(“ETH”,“”)
Cheers @kelvinyeo24
You can even use substring
Try this yourstringVariable.Substring(3)
@kelvinyeo24
Dear All, both methods works. many thanks.
yourstringVariable.Substring(3) how can we use this to match last 3 characters?
“ETHX1234567”
removing “567” and keep “ETHX1234”
str.Substring(0,8)
In general str.Substring(0,str.Length-3)
@kelvinyeo24