Hello all i have string like (Attribute)-Company_02. in this i have to find the first occurrence of (Attribute)-. How to achieve this?
Thank you, Mihir
Use myString.indexOf("(Attribute)-")
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/indexOf
(and)or the literal(Attribute)-?