@mm44 ,
Probably over complex, but I had a go using code I knew would work
With(
{
wRow:
If(
IsNumeric(
Mid(
yourStr,
2,
1
)
),
1,
2
)
},
With(
{
wBay:
If(
IsNumeric(
Mid(
yourStr,
wRow + 1,
2
)
),
2,
1
)
},
With(
{
wBin:
With(
{
wLast:
Left(
Right(
yourStr,
2
),
1
)
},
Right(
yourStr,
If(
IsNumeric(wLast),
1,
2
)
)
)
},
"Row " &
Left(
yourStr,
wRow
) &
", Bay:" &
Mid(
yourStr,
wRow + 1,
wBay
) &
", Bin:" & wBin
)
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps