I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
First, JavaScript's replace function is closest to preg_replace.
ReplyDeleteSecond, if you read the docs for str_ireplace, it's case-insensitive replace, which given that you're trying to turn B into b is precisely the wrong function to use.
You can do $t = str_replace('B', 'b', $t); (simpler) or $t = preg_replace('/B/', 'b', $t); (can handle more complex situations than what you're doing).
That call to Javascript replace uses a regular expression as the search criterion.
ReplyDeleteThe PHP Equivalent is preg_replace