It would be pretty nifty if you could get findtext to search backwards, I could simulate that myself by reversing the string but a built in feature would be nice :)
Firstly, an extension can be more than 3 characters and secondly a file name could consist of more than 1 dot, for example (lol.lol.lol.txt), with your method I would get (lol.lol.txt), I want (.txt)
This isn't going to make BYOND's string manipulation any faster as a whole, but it will make it easier to use. When I say string manipulation isn't a strong point, I mean that its not going to be so much of a gain when you can use a hard-coded method to gain what, like 0.01 second on the soft-coded method.
For a good feature, a mixture of efficiency, speed and ease of use are needed, and this feature isn't pretty light on 2/3 of those parts.
There's your reverse findtext() proc, shuffle along =P
That wasn't my point, yes, a soft-coded version could be implemented like you and I just did, I'm just asking for a hard-code version, it seems you are against this though :S
That wasn't my point, yes, a soft-coded version could be implemented like you and I just did, I'm just asking for a hard-code version, it seems you are against this though :S
Meh, not really, just not really for it either =P
Since as you said, we can easily make the procs ourselves, why bother having them do it?
That wasn't my point, yes, a soft-coded version could be implemented like you and I just did, I'm just asking for a hard-code version, it seems you are against this though :S
Meh, not really, just not really for it either =P
Since as you said, we can easily make the procs ourselves, why bother having them do it?
A lot of features can be written ourselves, what's the point of them?
I'll tell you, it's easier to do something, it's pretty much more convenient, this isn't a must-feature, but it'd be pretty cool to have it, simple.
A lot of features can be written ourselves, what's the point of them?
I'll tell you, it's easier to do something, it's pretty much more convenient, this isn't a must-feature, but it'd be pretty cool to have it, simple.
Welp, I wrote one, just copy and paste it into your project and it'll do what theirs would, with no real effort from you =P
And no, most features shouldn't be things we can do ourselves. Feature requests should be reserved for things that are either entirely impossible, or are so complicated/inefficient to do on our own that's its not even wroth the effort, but that would be simple (or at least simpler) for them to implement. They should also have a vast amount of practical uses, that would effect a large portion of the dev community, which this one would at least meet that requirement.