grazie ma per cosa sta len? lenght?
Ho provato così:
in compilazione tutto ok in visualizzazione ho l'errorecodice:int indice_m = prez.IndexOf("m"); int prl = miastringa.Length; miastringa= miastringa.Substring(indice_m, prl);
Index and length must refer to a location within the string.
Parameter name: length

Rispondi quotando