Lotus Notes - problema con comillas

 
Vista:

problema con comillas

Publicado por andres loyola (3 intervenciones) el 24/06/2008 20:16:42
necesito saber como identificar comillas dentro de un string como caracter:

ejemplo :

string = FMO_NOMBRE + " "ANDRES" "

NECESITO QUE LA ASIGNACION CONSIDERE LAS SEGUNDAS COMILLAS COMO PARTE DEL TEXTO ( "ANDRES" )
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:problema con comillas

Publicado por Hugo Correa (286 intervenciones) el 25/06/2008 01:11:58
Utiliza apostrofes `` en vez de las segundas comillas
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:problema con comillas

Publicado por armando (58 intervenciones) el 10/07/2008 13:28:45
Creo recordar que poniendo {"} lo trata como una cadena. En la ayuda del designer .

Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim times As New LCStream (0, 0, LCSTREAMFMT_DATETIME_LIST)
Dim fixedMessage As New LCStream(30, LCSTREAMF_TRUNCATE, LCSTREAMFMT_NATIVE)
Dim timeToday As New LCDateTime, timeTomorrow As LCDatetime
Call timeToday.SetCurrent
Set timeTomorrow = timeToday.Copy( )
Call timeTomorrow.Adjust(LCDTUNIT_DAY, 1)
Call times.DatetimeListInsertValue (1, timeToday)
Call times.DatetimeListInsertValue (2, timeTomorrow)
fixedMessage.Text = "begorrah! he cried, tapping on the backs of the sleeping tortoises."
' We used the Truncate flag, so the above doesn't cause an overflow error.
Print {Times = "} & times.Text & {", message = "} & fixedMessage.Text & {"}
End Sub
Example Output
Times = "03/13/2002 04:16:41.57 PM, 03/14/2002 04:16:41.57 PM", message = "begorrah! he cried, tapping on"
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar