The online racing simulator
Searching in All forums
(2 results)
Xodus989
S2 licensed
Quote from AndroidXP :string withBad = "I'm bad men.";
string withoutBad = withBad.Replace(" bad", "");

methods ftw


<?php 
string replace
(string instring tokenstring replaceWith)
{
     return 
in.Replace(tokenreplaceWith);
}
?>

Then you can do:


<?php 
string myString 
"I'm bad men.";
myString replace(myString" bad""");
?>

Sorry, I'm a minimal variable freak But when working with games, doing it like I showed is much better practice.
Xodus989
S2 licensed
Quote from J@tko :Genius - deploying the 'If they don't speak english, YELL IT AT THEM' tactic - good work


:hide:

QFEW.

Click the links, they're pictures
FGED GREDG RDFGDR GSFDG