Good day.!

dim varname as string

varname="Nothing's"

I need to double the Apostrophe next on the g letter of the varname.
It should give a result like: "Nothing''s".Remember that varname is not constant. Every word that passes this variable with Apostrophe, then it will double the Apostrophe within it.

Pls help

Thank you for spending time.

varname = Replace(varname, "'", "''")

Good Luck

varname = Replace(varname, "'", "''")

Good Luck

Thank you.Just a little function to manipulate the string.This problem was solved.

God bless Guys