Last active
August 29, 2015 14:13
-
-
Save xuanfeng/64a4025748b6bc01ae94 to your computer and use it in GitHub Desktop.
split时过滤空白
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#Participants').val().split(';').filter(function (n) { return n != '' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment