F
F
Filipp422021-07-19 15:20:28
Lisp
Filipp42, 2021-07-19 15:20:28

Is there an analogue of the split() method from Python to Lisp?

I'm making a simple program to work with a file cabinet, and I need to implement a text interface. To do this, I want to take a string with a command and break it into words, which will then be parsed. To do this, I need a function that takes a string as input, and gives out a list of words from this string. Python has a split() method, but is there something similar in Lisp?

To summarize the question, where can I find a guide to all functions for working with strings, preferably in Russian? Except for the ANSI Common Lisp book.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-07-20
@Filipp42

Not in the language itself. So either write your own, or use the library. For example, there is uiop:split-string
Common Lisp doesn't have much documentation , in my opinion. Clojure programmers have a much better life.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question