Talk:Substring: Difference between revisions

whole string minus first character here
No edit summary
(whole string minus first character here)
Line 22:
 
For what it's worth, the last Snobol4 subtask was incorrect, though it happened to return the right result. The break( ) pattern creates a character class like regex [ ], not a substring to match. Fixed. --[[User:Snoman|Snoman]] 11:32, 12 July 2010 (UTC)
 
In the same way that we have "whole string minus last character", we also need "whole string minus first character here", because there may be a separate handler within the language for removing a single leading character without needing to substring from characters 2 to end.
 
[[User:Markhobley|Markhobley]] 23:30, 2 June 2011 (UTC)