You need to sign in to do that
Don't have an account?
Shweta Garg
I have changed Browser language settings.from then string methods are not working properly.
Hello All,
I have changed google chrome language settings from english to French.from then String methods in my apex class are not working properly.
Here is my code sample.
here valuearray is the list of semicolon separated string .for example(4567 89 0;Q1).I need to remove space from it.I tried all these methods remove,deletewhitespace and replace. but no method is working.and this is strange when i am hardcoding the value.String methods are working.
Please help me.
Thanks,
I have changed google chrome language settings from english to French.from then String methods in my apex class are not working properly.
Here is my code sample.
for(String s:valuearray){ String s9 = s; system.debug('startvalue!!'+s+'******'+s.remove(' ')+'!!!!'+s.deleteWhitespace()+'@@@'+s.replace(' ','')); String sx = '675 75 56454 '; System.debug('testing!!'+sx.remove(' ')); }
here valuearray is the list of semicolon separated string .for example(4567 89 0;Q1).I need to remove space from it.I tried all these methods remove,deletewhitespace and replace. but no method is working.and this is strange when i am hardcoding the value.String methods are working.
Please help me.
Thanks,
Remove method is fine . but it is not working when i changed google chrome input settings from english to French.
thanks
Can share your VF and apex code? It helps to solve your problem.
Regards,
Yogesh