emmm así?
Código [Seleccionar]
t = "objSoldado1n1";
ultimo = string_length( t );
n = real( string_char_at( t , ultimo ) ) + 1;
t2 = string_copy( t, 0, ultimo-1) + string(n);