Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [string]

The tag has no usage guidance.

0
votes
1answer
21 views

How to extract part of url parameter for search

Background I have a site that stores archived data extracted from an old application environment (Lotus/IBM Notes). The data is stored as lots of individual .pdf files, 1 per record from the old ...
0
votes
1answer
10 views

Powershell to replace string in snippet in default.aspx

I have a requirement to replace a style section by appending in a new @import url for every default.aspx page in our farm. The problem comes in because this area might look like: <![CDATA[<...
1
vote
1answer
17 views

PowerApps Alpha-Numeric Substitution

My company uses an alpha-numeric substitution function. For example, say 1=A, 2=B, 3=C ... 8=H, 9=I and 0=J. They then convert a date in international format (DDMMYY) using the substitution so that a ...
0
votes
1answer
68 views

replace a SharePoint relative URL using powershell

I want to replace /sites/contoso RelativeURL with /teams/Int_Contoso using PowerShell. Is there any regular expression to achieve this as we have changed the destination URLs during migration and now ...
0
votes
1answer
245 views

How to split string condition on array with powershell script. Exporting SharePoint library data on csv file

i am trying export library data into CSV file. i had used string functionality on my script to get content. my script was working fine but i am getting output in single string (or) one column. My ...
0
votes
2answers
44 views

Extract text from document name using calculated column

I need to isolate parts of a document name so that the workflow (SPD 2010) can update respective metadata fields. Doc Name is within the following format : yyyymmdd.xxxx.xxxxxxxx.xxxx.xxxxxxxx The ...
2
votes
3answers
108 views

6 digit ID SharePoint workflow

I currently have a workflow that creates an ID. (Put the actual listitem ID into another field). I put the listitem id into a variable and then apply this variable into my custom column. I am wanted ...
0
votes
2answers
62 views

Javascript in CSR, Slice & Substr

I have the below function,which colors Title column in SP Online. I want to extract just the last 2 characters from "Period" and use it in the Switch case. I tried Slice,Substr function but both didn'...
1
vote
2answers
822 views

Powershell For Loop to add a semicolon after each value [closed]

I want to loop through a collection of items and append semicolon after each item. Example Output values from mycollection: 5590 6063 1213 Expected Output: 5590;6063;1213 Below is my code. for (...
3
votes
4answers
666 views

JavaScript - Rearrange String order?

var date = $(this).attr("ows_Date"); My current code displays a string output: 2017-01-02 Is there a Javascript code where I can move the first 4 digit to the back? How do i turn it into 01-02-2017? ...
1
vote
1answer
704 views

REST API System.FormatException: Input string was not in a correct format

I've encountered a strange problem with Rest API. I use it to collect data from SharePoint to my report. It works fine for all libraries on my site except for one. String that I use: https://<my ...
3
votes
3answers
4k views

String functions SharePoint Designer 2013 Workflow

I have the below string stored in a variable: 11608,613,12,12643,12644,12656 I want to extract each value before the comma and perform a set of actions. How to extract each value from the string ...
0
votes
1answer
920 views

Remove a section of a string in xsl

So I am doing a project in Sharepoint 2010 environment. I have an xsl template to retrieve the value of a page url. Currently this is the value that is being returned. http://sitebuilder2/corporate/...
2
votes
1answer
49 views

Calculated Columns - IF statement to find all numbers inbetween a selected area

Since my title is unclear let me explain. I'm currently trying to work out if I can use an IF statement to find numbers inbetween a selected amount. Example: =IF([Weeks Left]="1-12","coming soon",...
1
vote
1answer
242 views

Custom Activity for String Replace

In SharePoint 2010 designer, there is no direct option to replace the string with some other values. but in 2013, this is available. Is there any option to make this activity? I a column which is ...
0
votes
2answers
585 views

How to append to Event Attendee list using workflow

On a Sharepoint 2010 workflow, on List B, I want to look up the Attendees on a particular event in List A, append that list of users with the user who Created the list item in List B (CurrentItem:...
3
votes
2answers
12k views

Storing a dynamic variable for Workflow in SPD 2013

I am new to Share Point designer 2013. I would like to Store a value to a variable as follows: Store 'field' in 'Variable'. When compared in SPD 2007, there is "Build Dynamic String" under Actions. ...
0
votes
1answer
36 views

Refinements on a string field

Can I split the value in a string field for the refinements? For example If I have values on a string field that looks like: "ABC,DEF" when I apply the refinements to that field I obtain "ABC,DEF" as ...
1
vote
2answers
61 views

Can I pull month and year from a date in a text string?

I had two calculated columns "Month" and "Year" that displayed forms grouped by these columns. They were calculated from the last modified column. Using =TEXT(Modified,"yyyy") and =TEXT(Modified,"...
0
votes
1answer
54 views

Better Way To Find A String In A SubString In SharePoint EventReceiver

I am trying to create an EventReceiver that works for more than one Content Type. When new Content Types are added in future I need the EventReceiver to still keep working. My content types will ...
2
votes
1answer
1k views

Remove characters in string - and add it to array - Regex - Powershell - Migration

I'm trying to migrate data from a Excel spreadsheet to user profile properties. Data ex: Energy & Resources;#67777;#Financial Services;#137;#Consumer Business & Transportation;#23;#Real ...
0
votes
1answer
69 views

Sharepoint 2010 - Make assigning users easier

we are using Sharepoint 2010 and maintaining an Action Item/Issue tracker list (for a limited number of people, <10). To make assigning Action Items to users easier I want to implement to option to ...
3
votes
1answer
7k views

Sharepoint 2013 - How to lookup custom string in workflow task

I'm creating a workflow that assigns a task to a person. After that person completes the task, they are required to input a string of text (a server URL) before they can press "Approve." Once this is ...
-1
votes
1answer
955 views

Unable to use string functions in REST query

I am querying for duplication of column name in the web using REST query. My query is as per below: http://siteCollection/sites/Project1/_api/Web/Fields?$select=InternalName&$filter=toupper(...
1
vote
1answer
2k views

SharePoint Designer Workflow extract part of URL

Reusable workflow (content type based) running on a Document set. I need to extract the name of the Parent Document set while a workflow is running on the documents inside a doc set. I get the full ...
2
votes
2answers
8k views

How to add line-breaks into “Multiple lines of text” field when using ToString()

I have a list field of the type "Multiple Lines of Text". When I retrieve it in my code-behind using item["field"].ToString(), it prints out the text, but without line-breaks. How can I add line ...
1
vote
1answer
2k views

Convert Person/User Group to String

I am retrieving a list that contains Persons and would like to convert them to String, and also be able to count how many users are per list. The Person is retrieved as an Object. How can I solve this ...
0
votes
2answers
3k views

Workflow cannot find list item when column has blank string

I am working in SharePoint 2010 Enterprise, building a workflow in SharePoint Designer. I have a very simple custom list which has a "Single line of text" column called "ProcessedState". I am trying ...
0
votes
2answers
3k views

How to assign string to TaxonomyFieldValueCollection object?

holds the multiple values of the taxonomy field. I have a string like 2;#Department 2|c98ce851-88fd-41bc-a013-4a69dd6bae66 and assigning it using PopulateFromLabelGuidPairs() but I am not able to see ...