Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2003
    Messaggi
    4,826

    [vb.net]trovare terminazione riga(\r\n)

    ciao , ho il seguente cofice in vb tradotto da c#:
    For index As Integer = endPointOfMatch To text.Length

    If text.Chars(index) = Cr Then
    Return (index)
    End If
    Next


    dovrebbe trovare la fine della riga ma non funziona.
    grazie.

  2. #2
    Sostituisci Cr con ControlChars.Cr.
    Amaro C++, il gusto pieno dell'undefined behavior.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.