Jump to content
UBot Underground

Remove All Spaces From Scraped Names


Recommended Posts

Hey guys

 

I'm having trouble with removing spaces from a scraped list of names from a page

 

add list to list(%account names,$scrape attribute(<class="Title__usernameText">,"innertext"),"Delete","Global")

 

The above code gives me a list like this:

 

John Smith

Paul Green

Zoe Dog

 

but I need it like this:

 

JohnSmith

PaulGreen

ZoeDog

 

thanks in advance

 

 

Link to post
Share on other sites

Try this:

add list to list(%account names,$list from text($replace($scrape attribute(<class="Title__usernameText">,"innertext")," ",$nothing),$new line),"Delete","Global")

It uses the $replace function and you can just put a space in there for what you want to replace, more here: http://wiki.ubotstudio.com/wiki/Replace

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...