• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Substring Clauses.

Status
Not open for further replies.
Level 9
Joined
Apr 23, 2011
Messages
460
I'm using Jass, but if i put extra spaces it wont place multiple spaces after it?

Edit: I.E. If i get the string "red" and do local string red = SubString("red", 0, 5) Would it set local string red to "red " with the two spaces included because I "overshot" the amount of spaces it takes? In the sense that it 0,1 represents "r", 1,2 represents "e" and 2,3 represents "d", would 3,4 and 4,5 represent " " and " ", adding 2 spaces to the end of "red"?
 
Last edited:
Status
Not open for further replies.
Top