Jakobud
08-22-2003, 03:53 AM
lets say I have this:
string $str = "4:34pm";
Are there script commands I could use to manipulate this string's length? Like if I wanted to remove the "pm" from the string and just have "4:34" how could I do this? Or if I wanted to do vice versa: remove "4:34" and be left only with "pm". I'm just wondering how to change the size of the string. How to remove the front or back by any predefined length...
There has to be a way to do this.
string $str = "4:34pm";
Are there script commands I could use to manipulate this string's length? Like if I wanted to remove the "pm" from the string and just have "4:34" how could I do this? Or if I wanted to do vice versa: remove "4:34" and be left only with "pm". I'm just wondering how to change the size of the string. How to remove the front or back by any predefined length...
There has to be a way to do this.
