I have a string field that is being populated in this format, "myfielddata-data". I need to parse the data after the "-" to use in a business process.
Like
1 comments
12:29 Mar 21, 2024
Hello Justin,
string myString="myfielddata-data";
int indexRetrieved=myString.LastIndexOf("-");
string result= myString.SubString(indexRetrieved);
other way:
string myString="myfielddata-data";
string arMyString[] = myString.Split("-");
string result = arMyString[1];
Show all comments