Are you replacing one char with another char,
or are you replacing n chars with n chars?
There's Lisp function SUBSTITUTE and REPLACE, but not very easy to use.
A wrapper is needed.
- Qian
On 1/24/24 18:32, Grégory Vanuxem wrote:
Hello,
Small question, is there a simple to use function to replace some
characters or strings in a string, for example:
replace("ababab", "b", "c")
=> "acacac"
Regards,
- Greg
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/de204043-b21c-4998-84a5-95e44483362f%40gmail.com.