You need to sign in to do that
Don't have an account?
termfrequency
String processing at character level
String processig at character level, is there any reason why the character level manipulation is missing in String in apex?
ex: String temp = 'apex string';
temp.charAt(0)
You can do it with a loop and the substring method.
All Answers
You can do it with a loop and the substring method.
Hi Jim,
Actually, reading a string char by char is fundamental CS, i'm surprised to see apex is missing it, if there is any good reason to not to support it, im very interested in knowing it.
thanks
ram
I suspect one reason is that SalesForce doesn't have the concept of a character primitive.
I agree it would be useful - generating soundex keys is rather painful otherwise.