0

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.

2
Contributors
2
Replies
4
Views
8 Years
Discussion Span
Last Post by blocker
0
varname = Replace(varname, "'", "''")

Good Luck

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

God bless Guys

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.