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: How to find '' (really simple probably)

Previous Thread :: Next Thread 
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:07 PM
local ### = [[ test ]] ########### compared to local ### = [[ test ]] ########### They print different lengths, so how would i get the "Blank"? This ##### is copyrighted ©
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:09 PM
###################################################
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:09 PM
/HU5ugfFA

paste
bin


This siggy is copyrighted ©
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:10 PM
well you could try ##### but ### you have ## or you could put all the ##### into a ###. I think ##### 2 is more efficient but ### :/
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:11 PM
put what you're trying to say in pastebin and link because roblox filter


This siggy is copyrighted ©
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:12 PM
/kuJTGjsA
Report Abuse
EgoMoose is not online. EgoMoose
Joined: 04 Feb 2009
Total Posts: 2896
27 Aug 2016 10:12 PM
Yeah, if you use ##### then it will help ##### ####

Here's a link:
################################################
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:14 PM
kodran thats still hashtags post what you were originally trying to say

@moose
hashtags



This siggy is copyrighted ©
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:15 PM
####### ####### ############## ####################### EgoMoose and I ####### ######### #### ###### ## ##### ###### #### ############# ######### ### ###### ######## ############### ############# ######### ############################ ############### ####################### ################ ###### ############ ############## ############### ####
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:15 PM
#########################################
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:16 PM
wow that last one was really filtered... just do:
str:gsub("%s+")
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 10:16 PM
i meant
str:gsub("%s+", "")

aSDOGUHSDFOGHDOFIKGHDFIOKNGHdfg
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
27 Aug 2016 10:19 PM
didnt read the the string pattern wiki page enough to find %s

ty



This siggy is copyrighted ©
Report Abuse
enzo90 is not online. enzo90
Joined: 25 Mar 2012
Total Posts: 7104
27 Aug 2016 10:21 PM
Roblox loves to filter scripting!
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 10:56 PM
print(("hey i am 'some text'"):match("%b''"):match("[^%']+"))
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 10:56 PM
it uses %b'' to find things in between ' and ' and then inverse searches for anything that is not '
Report Abuse
TheCoderOfLua is not online. TheCoderOfLua
Joined: 12 Apr 2016
Total Posts: 1599
27 Aug 2016 11:01 PM
^ ### you could try to make something like this ###############--change ### to what u want
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 11:05 PM
hmm, maybe if you read the post you would realize he meant how to detect whitespace, not how to detect quotes hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 11:08 PM
he said how to find "''"
so i did read it correctly

and if you want to find all space characters:

local _,count = string.gsub("hey i am 'some text'"," ","")
print(count)


returns how many space characters

and i cant see your strings
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 11:09 PM
also how to make your text look really goofy 101

local text = string.gsub("haha this is weird",""," ")
print(text)
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Aug 2016 11:13 PM
your method of detecting whitespace doesn't account for \n and \r
stop trying
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 11:16 PM
############################################################################
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
27 Aug 2016 11:28 PM
replace " " with
"
%
s
"

i cant type it on one line because this filter...
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