Hi,
I want to trim the alpha characters from a string, so that a string like atp3233, ATP3233 or Atp3233 would become 3233
Here's my current code (Works only with upper cases...)
Thank you in advance
I want to trim the alpha characters from a string, so that a string like atp3233, ATP3233 or Atp3233 would become 3233
Here's my current code (Works only with upper cases...)
Code:
<cfset StringtoTrim = "Atp3233">
<cfset NewString = REReplace(StringtoTrim,"[A-Z]","","ALL")>
Thank you in advance