View Full Version : Concat String
10-26-2006, 07:34 AM
How do you concat strings in spin?
10-26-2006, 08:32 AM
a couple of relevant threads:
10-26-2006, 08:34 AM
Just like in PBasic for the Stamp, you have to do the work yourself one character at a time. Think of strings as byte arrays with just the slightest bit of syntactic sugar (in the form of string/strlength/strcomp). A number of people have been thinking about a string manipulation library, but it's not been done yet. There was a string library "object" posted here some time ago, but it also does some dynamic memory allocation which makes it a little more complicated in some ways than a simple C-like string library.