Javascript Extract Substring From Checkbox Innput String

Javascript Extract Substring From Checkbox Innput String