Posted by member 12025 on 2004-08-08 02:35:54
With mzScript, is there a way to check the first one or two characters in a string, and the last one or two?
As in,
Is there any other module that could help do this, either?
If it helps, I'm ultimately looking to make a multipurpose, potentially recursive, script (if possible) to simulate the use of functions that can return values, so I can design less kludgy scripts overall, that will hopefully be easier to modify and debug. Oh, and I'm bored :).
As in,
!checkstuff "yeah-bob"
, and checking to see if it starts with "ye" and ends with "ob", without knowing what is in between?Is there any other module that could help do this, either?
If it helps, I'm ultimately looking to make a multipurpose, potentially recursive, script (if possible) to simulate the use of functions that can return values, so I can design less kludgy scripts overall, that will hopefully be easier to modify and debug. Oh, and I'm bored :).