![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#4
|
|||
|
|||
|
Resuelto!
Gracias al duilioisola ese tambien funciona! Pero este es mas facil: function MySplit(source : string; delimiter : string): TStringList; var i : integer; s : string; arrString: TStringList; begin arrString := TStringList.Create; s := ''; i := 1; repeat begin if Copy(source,i,Length(delimiter)) <> delimiter then begin s := s + Copy(source,i,1); i := i + 1; end else begin arrString.Add(s); s := ''; i := i + Length(delimiter); end; end until i > Length(source); if s <> '' then arrString.Add(s); result := arrString; end;
|
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Descomponer nombre y apellidos | lgarcia | SQL | 4 | 15-04-2009 22:16:37 |
| Comprobar cadena dentro de un string | Khronos | Varios | 2 | 03-07-2008 11:06:35 |
| string de un dbedit a entero para guardar la cadena | Nereida | Varios | 3 | 06-05-2008 15:59:34 |
| Comparar una cadena String con un directorio | dicatek | Internet | 2 | 22-03-2008 20:01:05 |
| Descomponer un numero con 7 digitos | Camilo | Varios | 3 | 05-11-2007 21:58:02 |
|