By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,790 Members | 1,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,790 IT Pros & Developers. It's quick & easy.

remove a substring off the string

P: 1
Given a string, return a version where all the "ran" are removed, but the "a" can be any char. The "ran" strings will not overlap.
for eg:stringRan("ranfan") → "fan"
Mar 1 '12 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
What have you tried?
Mar 2 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.