You need to sign in to do that
Don't have an account?
Ab
Get a 10 letter alphabets from a text area
Hello,
I want get the first 0 first characters fromtthe text area
I want to replace the following
=> remove space
=> remove special charaters
In short i want to create only create a 10 letters only from alphabts A to Z,
thanks you for suggestion
I want get the first 0 first characters fromtthe text area
I want to replace the following
=> remove space
=> remove special charaters
In short i want to create only create a 10 letters only from alphabts A to Z,
thanks you for suggestion
Sandrine,
You can use the following code to get the aspected result.
Please mark this as resolve nad best answer if it helps you.
Thanks.
Deepak.
All Answers
Sandrine,
You can use the following code to get the aspected result.
Please mark this as resolve nad best answer if it helps you.
Thanks.
Deepak.
Greetings to you!
To remove all special characters from string in apex you can use:
To remove white spaces you can use deleteWhitespace() method:
Try below code in 'Open Execute Anonymous Window':
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas