| Author |
how to find words between place holders
|
vittal mareddy
Greenhorn
Joined: Jul 24, 2011
Posts: 14
|
|
I have a value in string variable, i want to get wards between place holder, is there any api i can use from JDK1.5,
String str ="select user_name,'$user_name$','$test_app1$' from dm_user where r_is_group = FALSE and user_state = 0 and user_name not like 'dm%' order by user_name";
I need to get user_name, test_app1
Thanks
vittal
|
 |
Rishi Shah
Ranch Hand
Joined: Sep 05, 2012
Posts: 43
|
|
You can use regular expressions:
You can learn about regular expressions here: http://codular.com/regex
|
 |
 |
|
|
subject: how to find words between place holders
|
|
|