Know number of characters of a file line / saber la cantidad de caracteres de una linea - Forum

Forum Navigation
You need to log in to create posts and topics.

Know number of characters of a file line / saber la cantidad de caracteres de una linea

@vadim

 

ENGLISH

Hello, how could I know the number of characters that a line of a file has, I need to take the total of a file line by line and be able to verify if each line contains 13 characters, since it is a list of telephone numbers....

Read the file, establish the size, do the loop up to there, everything is fine. I don't realize how to verify that the line that is read contains 13 characters. thank you in advance

ESPAÑOL

Hola como podria saber la cantidad de caracteres que tiene una linea de un archivo, necesito sacar el total de un archivo linea por linea y poder verificar si cada linea contiene 13 caracteres, ya que es una lista de telefonos ....

Lea el archivo, establezca el tamaño, haga el bucle hasta allí, todo está bien. No me doy cuenta de cómo verificar que la línea que se lee contiene 13 caracteres. gracias de antemano

 

 

@joferar333

The StrLen command allows you to count the length of a string.

https://winhelp.visualneo.com/Strings.html#STRLEN

luishp and josevdr95 have reacted to this post.
luishpjosevdr95

@joferar333

Hola, mira este ejemplo...

 

Uploaded files:
  • You need to login to have access to uploads.

THANKS @vadim.
Muchas gracias @josevdr95
Ya lo cache y lo pude solucionar

Saludos cordiales.

josevdr95 has reacted to this post.
josevdr95