Check.js 323 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 function CheckString(inputString){ var from = 0; var len = 0; for(var i = 0; i < inputString.length; i++){ if(inputString[i] === '_'){ from = i+1; break; } } len = inputString.length - from; return inputString.substr(from,len); } export default CheckString;