In order to store results in the newly released (Winter 16') Platform Cache, I need an alphanumeric string, but currently have a String
with the report name that I'm attempting to store, some of which have spaces, hyphens, parenthesis, etc. (i.e. "Sales - Actual Results (TY)"
).
I'm not sure in APEX how I would strip all these unwanted characters from the string to convert it into the alphanumeric key that I need.
Please & Thank you!