Strip out c style comments - no regex
Anonymous User
132

// comment1
{
// another comment
true, "foo", // 3rd comment
"http://www.google.com" // comment after URL
}

Note that 5th line should preserve http:// string, i think we need to use split method here, but not sure how to handle the 5th line. This is from SAP interview

Comments (1)