Hi I'm using angularjs in My project, iI have a string like this 'string(1)' istring(1), I want to get substring remove the last part to obtain just 'string'string any suggestions please!!
PS
 PS.the string could be: 'sringggg(125)' whatever the long of the string issringggg(125).