Podrías usar expresiones regulares, como por ejemplo
Código PHP:
using System;
using System.Text.RegularExpressions;
public class RegularEx
{
public static void Main()
{
Regex rx = new Regex(@"#I(.*)O(.*)L(.*)B(.*)V(.*)F(.*)H(.*)R(.*)S(.*)",
RegexOptions.Compiled | RegexOptions.IgnoreCase);
string text = "#I225.7O226.2L006B100V25.7F50.2H50.2R0080S€„€ˆ„À";
MatchCollection matches = rx.Matches(text);
foreach(Match match in matches)
{
foreach( Group group_ in match.Groups)
{
Console.WriteLine(group_.Value);
}
}
}
}
Salida
Código:
$ ./RegularEx.exe
#I225.7O226.2L006B100V25.7F50.2H50.2R0080S€„€ˆ„À
225.7
226.2
006
100
25.7
50.2
50.2
0080
€„€ˆ„À