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: Strings

Previous Thread :: Next Thread 
cristinon is not online. cristinon
Joined: 15 Nov 2011
Total Posts: 297
24 Aug 2015 09:50 AM
How do you get the characters after a string? Example (get chars after "m ") m getthese
Report Abuse
cristinon is not online. cristinon
Joined: 15 Nov 2011
Total Posts: 297
24 Aug 2015 09:52 AM
bump
Report Abuse
cristinon is not online. cristinon
Joined: 15 Nov 2011
Total Posts: 297
24 Aug 2015 10:00 AM
b
u
m
p
Report Abuse
cristinon is not online. cristinon
Joined: 15 Nov 2011
Total Posts: 297
24 Aug 2015 10:03 AM
Bump -_- PLEASE ANSWER!!!!!!!!
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
24 Aug 2015 10:06 AM
Show us the string/

while true do the do
Report Abuse
Phewh is not online. Phewh
Joined: 25 Aug 2014
Total Posts: 29
24 Aug 2015 10:07 AM
if string.sub(string, 1, 2) == "m " then
return string.sub(string, 3, string.len(string))
end
Report Abuse
Phewh is not online. Phewh
Joined: 25 Aug 2014
Total Posts: 29
24 Aug 2015 10:08 AM
local text = "m this will return"

if string.sub(text, 1, 2) == "m " then
return string.sub(text, 3, string.len(text))
end
Report Abuse
cristinon is not online. cristinon
Joined: 15 Nov 2011
Total Posts: 297
24 Aug 2015 10:16 AM
Thanks phew
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
24 Aug 2015 10:17 AM
more like

string.match("m Hi there lol", "m%s(.+)")
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
24 Aug 2015 10:19 AM
yep ^^

while true do the do
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