Revision: 59115
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 17, 2012 17:26 by Webbanditten
Initial Code
function getID(value) { returnvalue = value.split(/;#/)[0]; return returnvalue; } var text = '1;#Athene'; var abc = getID(text); console.log(abc);
Initial URL
Initial Description
Simple splitting of a string, just change [0] to [1] if you want to get the text after the ";#" you can change that too.
Initial Title
Split text with jQuery
Initial Tags
Initial Language
jQuery