Massy Member Licensed User Longtime User Jun 4, 2015 #1 I'm trying to get the hundreds of seconds after the decimal separator in an audiofile position while file is playing and I have a float number in this format 10.23 how can I eliminate 10. and get a string with just 23? I tryed Code: Copy Dim values As List values = Regex.Split(".", myString) but it doesn't work... Code: Copy Log(values.Get(1) gives me an error Any help will be much appreciated thanks Last edited: Jun 4, 2015
I'm trying to get the hundreds of seconds after the decimal separator in an audiofile position while file is playing and I have a float number in this format 10.23 how can I eliminate 10. and get a string with just 23? I tryed Code: Copy Dim values As List values = Regex.Split(".", myString) but it doesn't work... Code: Copy Log(values.Get(1) gives me an error Any help will be much appreciated thanks
NJDude Expert Licensed User Longtime User Jun 4, 2015 #2 Try: Code: Copy values = Regex.Split("\.", myString) Reserved characters have to be escaped. Upvote 0