Difference between revisions of "Talk:LlSubStringIndex"
Jump to navigation
Jump to search
(→RegEx) |
(propose snippets startswith(whole, part) and endswith(whole, part)) |
||
Line 1: | Line 1: | ||
== startswith, endswith == | |||
Me or someone should return to contribute correct-at-a-glance versions of the snippets that mean: | |||
startswith(whole, part) -- returns true if whole starts with part, else returns false | |||
endswith(whole, part) -- returns true if whole ends with part, else returns false | |||
cf. http://docs.python.org/lib/string-methods.html | |||
== RegEx == | == RegEx == | ||
Any chance of RegEx in the future? <br /> | Any chance of RegEx in the future? <br /> | ||
[[User:Cron Stardust|Cron Stardust]] 23:32, 7 March 2007 (PST) | [[User:Cron Stardust|Cron Stardust]] 23:32, 7 March 2007 (PST) | ||
:I would say, highly unlikely. It would break existing functionality. Best to request an entirely new function. [[User:Strife Onizuka|Strife Onizuka]] 04:39, 8 March 2007 (PST) | :I would say, highly unlikely. It would break existing functionality. Best to request an entirely new function. [[User:Strife Onizuka|Strife Onizuka]] 04:39, 8 March 2007 (PST) |
Revision as of 06:36, 16 October 2007
startswith, endswith
Me or someone should return to contribute correct-at-a-glance versions of the snippets that mean:
startswith(whole, part) -- returns true if whole starts with part, else returns false
endswith(whole, part) -- returns true if whole ends with part, else returns false
cf. http://docs.python.org/lib/string-methods.html
RegEx
Any chance of RegEx in the future?
Cron Stardust 23:32, 7 March 2007 (PST)
- I would say, highly unlikely. It would break existing functionality. Best to request an entirely new function. Strife Onizuka 04:39, 8 March 2007 (PST)