I want to check if a string contains a single quote. May I know whats the syntax for writing this?
Please help me thanks!
@Penganimation, Hi, Both these below will work, Try it and let me know.
YourStringVariable.Contains(Chr(34))
Or
YourStringVariable.Contains(" "" ")
1 Like
thank you, to be more precise i want to check this string '1
i want to detect if the β exists or not
it seems that when i have β β1 β, it doesnβt work. but when i add a space between the 2 characters like this β β 1 β, it works.! But i want to detect the first case not the second case.
oh i got it, i must remove the space in front and behind. So that the string is an exact match. it works now, thank you so much!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.