vivek jagga
vivek jagga

Reputation: 1

SharePoint designer string replace function

SharePoint Designer does not support the replace function directly.

What would be a function or call Template for this? I want to replace "-Y" with "Yes" and "-N" with "NO" in a string. E.g.:

Sample-Y, Sample1-N

Result as:

Sample Yes Sample1 No

Upvotes: 0

Views: 8366

Answers (1)

Jeroen Ritmeijer
Jeroen Ritmeijer

Reputation: 2792

Not exactly sure what you are trying to do and what part of SharePoint Designer you are using, but if you are talking about workflows then checkout the Workflow Power Pack, which allows you to embed any C# or VB code inside your workflow. This makes the usual string manipulation functionality very easy.

An example of string manipulation functionality can be found here.

Disclaimer, I worked on this product and it is fab ;-)

Upvotes: 0

Related Questions