1
How can I store the position of the first numeric character of a string
?
Example:
$NomeEstacao = "Atendimento05" # posição 11 (carácter 0)
$NomeEstacao = "Direcao46" # posição 7 (carácter 4)
I tried to use $a.IndexOf("\d").
to find the position but without success.
I know the site does not recommend comments of thanks. But thanks for the tip. It will be very useful.
– Adriano.Paganotto
No problem, usually the expected is recommended and vote on the answer if it helped you and, as in your case, if the question is yours, mark the answer as a solution. That said there is no problem in thanking.
– Omni