cleopard Level: Big Cheese
 Registered: 02-09-2005 Posts: 28
|
string slices
Here's another question that should be easy, but I haven't been able to find my answer (as other things I've tried haven't pleased the compiler). How do I go about simply modifying a slice of a string (in my case, just one character)? If I find an invalid character in a string, I want to substitute another one for it. Something like
filename(3) = "-"
obviously won't work.
|