Jump to content

[SOLVED] What function would you use to do this?


ballhogjoni

Recommended Posts

I want to strip a string of all the characters after a certain charater.

 

example: I have a string 'this is a string&more=this is some more stuff'

 

based off of the string above I want to trim or delete all the characters after the &. So my output would just be 'this is a string'.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.