Parsing variables

Nov 22 2010 9:36 AM

Hi,
I nedd to save in database some sql filters from application users or groups. Sample text is: 'and depID = [depIDVariable]'.
I want to load this text, parse somehow this [depIDVariable] and replace it by some value (depending of which users is logged in).
Is there some way to do this ?

Answers (2)