how to make while A is in text do something in godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tweedy

how to make while A is in text do something

:bust_in_silhouette: Reply From: aa
if 'A' in text:
    do something

But i want while is A in text. Because i want make dialog and in it will be when dot is detected wait fo few seconds

Tweedy | 2020-01-06 09:33