consider, in my javascript i am getting :
function callBack_Show(result) {
//where result is in jsonp format
var artical= result.Artical;
now artical contains some text,
i want to read number of words and characters in it and display them the words can be separated by: blank space, fullstop,comma etc and i want to do it in same javascript function (callBack_Show(result) )