javascript - find the text and the strip the text at a certain point -


I to capture text value and then - symbol and - The symbol itself will be

some text

Some text

P> This is what has been found so far, it is just -

  $ Keynav.enterDown = function (with {var = $ ('removes # tips) p.keynavon') instead of text () (/ - / g, .. ''); Warning (relaxing and relaxing time); $ ('#search input # q'). Val (with); $ ("#farm") deposit () .; }  

  var text = "some text - is found"; Var = text with SPTIT ("-") [0]; Warning (relaxing and relaxing time); // some text  

[]


Comments