Strings
by AIDan · in Torque Game Engine · 10/15/2001 (3:32 pm) · 3 replies
How to copy, delete and find strings in a string??
Can I use a string as an array of chars??
greetings
Daniel
Can I use a string as an array of chars??
greetings
Daniel
About the author
#2
10/15/2001 (4:11 pm)
sure
#3
There are a bunch of cool string functions in there. You might need to make some functions yourself. Like strRight, strLeft, etc.
In script, a string isn't an array like in C++. It's closer to VB's strings. So you'll need to make functions like vb's string functions to get good results.
Dark
10/15/2001 (4:52 pm)
in the engine type str in the console, then press tab a bunch to see everything that starts with str.There are a bunch of cool string functions in there. You might need to make some functions yourself. Like strRight, strLeft, etc.
In script, a string isn't an array like in C++. It's closer to VB's strings. So you'll need to make functions like vb's string functions to get good results.
Dark
Torque Owner Chris "Dark" Evans
Dark