code128B used to calculate the barcode of type 128
Validate the given input to check whether the input is valid one or not
Returns string