Extract text before certain text in ALM Workflow

Using workflow, I am storing Requirement name as Feature.Name

Feature.Name will be in format like: F12345: Feature Name

I need code to extract only F12345 and store in Feature_ID

I tried below code:

Feature_ID =Left(Feature.Name,(Find(":",Feature.Name,1)-1)) but seems not working

also tried 

Feature_ID = GetStrUntil(":",Feature.Name)  but it seems this is also not working.

Can you please let me know how to extract untill ":" and store in Feature_ID

Parents Reply Children
No Data