Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 02-09-2010, 11:44 PM
tempandrew tempandrew is offline
Registered User
Join Date: May 2005
Posts: 98
tempandrew is on a distinguished road
Quote:
Originally Posted by WhiteDragon View Post
I imagine people would want both a

string.match(pattern) -> boolean

and a

string.replace(pattern, replacement_string) -> string

Where the replacement_string could include back-references (like $1 or $2) if pattern includes capturing parenthesis.


I still think this is a bad idea though.
This should be implemented ASAP. I can think of a lot of situations where a replace command would be great.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.