How can you check whether a specific char comes before another char using a for-loop?
E.g. the function should return false if ')' comes before '('. So the following strings would be false: ')abc', 'a)abc(', ')abc'
')abc', 'a)abc(', ')abc'
Aucun commentaire:
Enregistrer un commentaire