hai all i have assigned some value to the variable now i want to write if condition weather the value in the variable is in the format of P0123654 the starting P0 is fixed but the values after that will be varied but totally it would be of 8 digits how to write the if condition to check if the value in the variable is in the format of P0xxxxxx
it should check it should have 8 letters and starting should be P0