Varundroid
Varundroid

Reputation: 9234

iOS - how to save hyperlinks in sqlite?

How to save hyperlinks in sqlite.

I tried saving it as a string but something like this has been saved in my column -

HYPERLINK "HYPERLINKHYPERLINKwwwHYPERLINK.HYPERLINKyoutubeHYPERLINK.HYPERLINKcomHYPERLINK/HYPERLINKwatchHYPERLINK?HYPERLINKvHYPERLINK=HYPERLINKurHYPERLINK_HYPERLINKairHYPERLINK_HYPERLINKPcWo

is there any special way to treat hyperlinks in iOS development.

I am a newbie in iOS world so any help would be appreciated.

Thanks.

Upvotes: 1

Views: 214

Answers (1)

max_
max_

Reputation: 24481

Thats a bit random, but you can always remove the hyperlinks to get the URL from that string:

columnStringVar = [columnStringVar stringByReplacingOccurancesOfString:@"HYPERLINK" withString:@""];

Upvotes: 1

Related Questions