siproductions
07-21-2007, 05:51 PM
Hey guys i've been having a problem with maya 6.5 when I try to use the substituteAllString command. I'm running this code:
string $text = "test001";
string $result = substituteAllString($text, "001", "");
print $result;
when I run this code I get this output: "tesestst0t00011"
when it should be: "test"
Am I using it wrong? I ran this in 8.5 and it works fine. Just wanted to see if I'm the only one who has experienced this. Cheers.
string $text = "test001";
string $result = substituteAllString($text, "001", "");
print $result;
when I run this code I get this output: "tesestst0t00011"
when it should be: "test"
Am I using it wrong? I ran this in 8.5 and it works fine. Just wanted to see if I'm the only one who has experienced this. Cheers.
