generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Good place to learn about string patterns?

Previous Thread :: Next Thread 
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
03 Apr 2012 07:39 PM
I know how to do metatables and everything that would be considered 'advanced scripting', however I simply cannot wrap my head around string patterns.
Report Abuse
CLIPSE is not online. CLIPSE
Joined: 29 Jan 2010
Total Posts: 9723
03 Apr 2012 07:52 PM
Aren't you a wiki writer?
Report Abuse
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
03 Apr 2012 07:56 PM
yep
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
03 Apr 2012 08:06 PM
care for some newproxy
Report Abuse
Emess is not online. Emess
Joined: 01 Apr 2010
Total Posts: 13331
03 Apr 2012 08:08 PM
shure
Report Abuse
Bubby4j is not online. Bubby4j
Joined: 25 Dec 2008
Total Posts: 1831
03 Apr 2012 08:12 PM
String patterns? Like manipulation?

Common things are
Splitting a string:

split("The quick brown fox jumps over the lazy dog."," ") -- {"The","quick","brown","fox","jumps","over","the","lazy","dog."}
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
03 Apr 2012 08:48 PM
The roblox's wiki string pattern tutorial is actually not bad. It used to be horrible, with no "real manipulation" tutorials. Check it out.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
03 Apr 2012 08:52 PM
It's not hard. I'm not sure if ROBLOX's string patterns are similar to C++ regular expressions though, where you can have like character classes, etc..

Anyway, it's not that hard. You have characters that resemble various characters such as punctuation characters, lowercase characters, etc. The wiki tutorial is good as nate890 said.

http://wiki.roblox.com/index.php/String_Patterns
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
03 Apr 2012 08:52 PM
Just think of symbols.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
03 Apr 2012 08:56 PM
Lua's string manipulation is quite great and sufficient. Math... ehh.

Bubby, "split" isn't a function?
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
03 Apr 2012 09:27 PM
[ Content Deleted ]
Report Abuse
Ozzypig is not online. Ozzypig
Joined: 27 Mar 2008
Total Posts: 4906
03 Apr 2012 09:29 PM
String patterns are Lua's form of regular expressions. Lua doesn't have regular expressions because it was meant to be lightweight, and regular expression implementations were just too heavy.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
04 Apr 2012 05:53 AM
@Ozzypig,

Thanks.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image