remove()function to remove characters
Hi there,
I'm trying to use the remove function to remove characters from a variable. I have a Lead source that comes in as [Google] or [Facebook] etc. in Flow I need te to remove the square bracket. Tried a function that looks something like this:
- string sourceType(string leadSource )
- {
- input.leadSource = (input.Number).remove( "[]");
- info leadSource ;
- }
However, this gives an error and I can't find where I'm making a mistake. I'm not very proficient with Deluge though.
Any help would be much appreciated.
Many Thanks
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.