Blockland Forums > Modification Help

strReplace - Replacing multiple characters at once? (New question)

Pages: (1/2) > >>

Electrk:

Is there a way to make strReplace case insensitive? Or is there another command for it?

How would I replace multiple characters at once?

Greek2me:

Not sure, but try striReplace.

Treynolds416:

http://forum.blockland.us/index.php?topic=177446.0

M made this function, it isn't TS standard

Electrk:

Thanks, guys.
Also, how would I replace multiple characters at once?

Treynolds416:

I'm sure there's a more efficient way, but you could just stack them up:

--- Code: ---striReplace(striReplace(striReplace("thisxisyaztest","x"," "),"y"," "),"z"," ");
--- End code ---


Pages: (1/2) > >>

Go to full version