Forum Discussion

monojchakrab's avatar
monojchakrab
Resolver III
3 years ago
Solved

How to isolate text or numbers trailing a particular text string

Hey good people,   I am trying to get the pack number from a table as below :   Towards this end, I wrote a code as below, which works part of the way :   if Text.Contains([Title],"pack"...
  • Vijay_A_Verma's avatar
    Vijay_A_Verma
    3 years ago

    Test this and let me know if there is any exception. If yes, I will need that data where you get exception

    try Number.From(Text.Split(Text.Split([Title],"Pack of"){1}," "){1}) otherwise 1