Remove Second Character From String Javascript Methods For Querying