String Manipulation
ulmedas
Member Posts: 4
Howdy Folks.
I wonder if it is possible to display a partial string?
I have figured out (via the forum) how to get the # of characters of a string, and I would like to use that to truncate the string and or display only part of the string. Any ideas?
Thanks a ton.
Toodle-pop,
Ulmedas
I wonder if it is possible to display a partial string?
I have figured out (via the forum) how to get the # of characters of a string, and I would like to use that to truncate the string and or display only part of the string. Any ideas?
Thanks a ton.
Toodle-pop,
Ulmedas
Comments
kthanksbye
Ulm.
-Josh
EDIT: Mabie this will help you just look at the rule for getting the number in a sequence.
the only place I know to make a persistant string is as an actor attribute. I seems like there is a way to concatenate strings using ".."
`'blah'..self.someAttribute`
But is there a way to access the array of characters that make up the string? or to truncate a string (i.e., remove say the last character of a string?)
for example, assume I have a string:
`"I am a string, yes"`
Truncating the last character I get:
`"I am a string, ye"`
Does anyone know a way to do something like this? It does not matter where the string is, I can make it work.