A string must contain the following
- 123, => Three digits with Comma
- 123 => Three digits with Nothing
- ,123 => Comma with Three digits
- 1234567, => Seven digits with Comma
- 1234567 => Seven digits with Nothing
- ,1234567 => Comma with Seven digits
Maybe you don't understand what I want, so let me give you an example
=================================
123-------------------------right
1234------------------------wrong
123,1234----------------wrong
,123-------------------------right
,123,------------------------right
123,123--------------------right
123,123,-------------------right
123,1234567-------------right
The three digits can be replaced by a number of seven digits
Aucun commentaire:
Enregistrer un commentaire