Formula to extract text from a string

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 0



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