[FX.php List] Javascript question

Bob Patin bob at patin.com
Mon Aug 19 15:42:25 MDT 2013

OK, Javascript experts, splain this to me:

If I put this:

var str="2014#Steven Patin";

I get 4, which is what I would expect; now, if I put this:

var str="2014|Steven Patin";

I get 0.


Is a pipe not allowed? I'm trying to concatenate an ID and a name together and them parse them back out in JS, and the 2nd example fails. Stumped as to why...


Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
FileMaker 9, 10, 11& 12 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
Twitter: bobpatin
AIM: longterm1954
iChat: bobpatin
Expert FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker

More information about the FX.php_List mailing list