Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted
can anyone think of a way of reading in a string then outputting it back stripping out any commas? I have an inventory script and Samsung put a ~@*&ing , in their name which means it blows all my table formatting to pieces
Posted (edited)
The replace function? What am I missing?

 

something like :

 

output=replace(input,",","")

 

quick test with partial code (just the bit I need on the affected laptop typically the heads lol) shows it works now up to v8 of a script I only did v1 for a few weeks ago lol

 

even simpler though input=replace(input,",","")

Edited by sted

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...