Hacer Pregunta

Crear un tema
Retroceder   Foros para el aprendizaje de inglés y español > Los idiomas inglés y español > La gramática
Registrarse Ayuda Comunidad Calendario Temas de Hoy Buscar PenpalsTraductor


Split by, split on

 

Éste es el lugar para preguntas sobre conjugaciones, tiempos verbales, adverbios, adjetivos, el orden de palabras, sintaxis y otras cuestiones gramaticales en español e inglés.


Respuesta
 
Herramientas Desplegado
  #1  
Antiguo March 15, 2024, 11:53 PM
Tyrn Tyrn no está en línea
Pearl
 
Fecha de Ingreso: Jul 2019
Mensajes: 355
Primera Lengua: Russian
Tyrn is on a distinguished road
Yes, I meant computer science all along

So, we split strings on/at spaces, and into substrings. Still unclear: is it possible to split a string by words? I'm really interested in a short preposition.
Responder Con Cita
  #2  
Antiguo March 16, 2024, 09:28 PM
Avatar de wrholt
wrholt wrholt no está en línea
Sapphire
 
Fecha de Ingreso: Apr 2011
Ubicación: Boston, Massachusetts, USA
Mensajes: 1,401
Primera Lengua: US English
wrholt is on a distinguished road
Cita:
Escrito originalmente por Tyrn Ver Mensaje
Yes, I meant computer science all along

So, we split strings on/at spaces, and into substrings. Still unclear: is it possible to split a string by words? I'm really interested in a short preposition.
"Split a string by words" doesn't sound as natural to me as "split a string into words".

"Split a string into words" describes the end result of splitting a string. "Split a string by words" suggests the method of splitting a string into smaller units, rather than identifying what the smaller units are. In this context, "by words" doesn't fit the context well, while "into words" does.

There are other types of data for which I could use "by" to describe how to group the data into smaller sets: for example, an economic analysis could report economic data grouped by some unit of time such as year, month, quarter, or week. Or it could report the data by cateory: medical spending, basic necessities such as food, clothing, or housing, and so on.

Note that I'm a native speaker of US English from the northeastern US. I cannot speak for other national, regional, or social varieties of English: there are differences of pronoun usage between different varieties of English.

Última edición por wrholt fecha: March 16, 2024 a las 09:36 PM
Responder Con Cita
  #3  
Antiguo March 17, 2024, 12:04 AM
Tyrn Tyrn no está en línea
Pearl
 
Fecha de Ingreso: Jul 2019
Mensajes: 355
Primera Lengua: Russian
Tyrn is on a distinguished road
Possible albeit debatable. One can settle for it, then. Word by Word: The Secret Life of Dictionaries by Kory Stamper is a book I can recommend for everyone .
Responder Con Cita
  #4  
Antiguo March 19, 2024, 03:07 PM
Avatar de wrholt
wrholt wrholt no está en línea
Sapphire
 
Fecha de Ingreso: Apr 2011
Ubicación: Boston, Massachusetts, USA
Mensajes: 1,401
Primera Lengua: US English
wrholt is on a distinguished road
Cita:
Escrito originalmente por wrholt Ver Mensaje
...

Note that I'm a native speaker of US English from the northeastern US. I cannot speak for other national, regional, or social varieties of English: there are differences of pronoun usage between different varieties of English.
My proofreading wasn't that great when I stopped working on a previous reply: I meant to say "differences of preposition usage". That's what I get for writing responses after staying up longer than I probably should.
Responder Con Cita
Respuesta

 

Link to this thread
URL: 
HTML Link: 
BB Code: 

Normas de Publicación
No puedes crear nuevos hilos
No puedes enviar respuestas
No puedes adjuntar archivos
No puedes editar tus mensajes
Código BB está habilitado
Los iconos gestuales están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Normas del Sitio


La franja horaria es GMT -6. Ahora son las 03:32 PM.

Foro powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

X