Android Question how to get numbers after decimal separator?

Discussion in 'Android Questions' started by Massy, Jun 4, 2015.

  1. Massy

    Massy Member Licensed User

    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
    Dim values As List
    values = 
    Regex.Split(".", myString)
    but it doesn't work...
    gives me an error
    Any help will be much appreciated
    Last edited: Jun 4, 2015
  2. NJDude

    NJDude Expert Licensed User

    values = Regex.Split("\.", myString)
    Reserved characters have to be escaped.
    Massy likes this.
  3. Massy

    Massy Member Licensed User

    Thanks a lot Dude! It works ok now
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice