Vector representation of Strings?

Vector representation of Strings? - Messages

#1 Posted: 9/21/2025 7:21:48 PM
Stuart Bruff Y

Stuart Bruff Y

0 likes in 4 posts.

Group: User

Is there a method within SMath for converting between strings and vectors of Unicode Points (or ASCII codes)? That is, a means of accomplishing what Mathcad's str2vec and vec2str do?


2025 09 21 H.png
#2 Posted: 9/21/2025 9:15:09 PM
Martin Kraska

Martin Kraska

1,280 likes in 2,202 posts.

Group: Moderator

You can use Maxima.

image.png

string.sm (5.5 KiB) downloaded 74 time(s).
Edited 9/21/2025 9:16:32 PM
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Stuart Bruff Y 9/23/2025 1:46:30 PM
#3 Posted: 9/22/2025 12:33:10 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,054 likes in 1,719 posts.

Group: User

Hi Stuart. Nice to read you. You can use the functions in this post: https://smath.com/en-US/forum/topic/bppdgC/String-utilities, which, while not very efficient, at least get the job done.

image.png

Best regards.
Alvaro.
#4 Posted: 9/23/2025 1:50:55 PM
Stuart Bruff Y

Stuart Bruff Y

0 likes in 4 posts.

Group: User

Wrote

You can use Maxima.

image.png

string.sm (5.5 KiB) downloaded 74 time(s).



Thanks, Martin.

Stuart
  • New Posts
  • No New Posts