Question: ```
    <?xml version="1.0" encoding="utf-8"?>
       <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical" >

       <TextView
         android:id="@+id/textView1"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="EN LEZİZ KISIR TARİFİ BURADA"
         android:textAppearance="?android:attr/textAppearanceLarge" />

     <ImageView
         android:id="@+id/imageView1"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:src="@drawable/kisir" />

     <Button
        android:id="@+id/button1"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/malzemeler" />

     <Button
       android:id="@+id/button2"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       android:text="@string/hazirlanisi" />

    <ScrollView
        android:id="@+id/scrollView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:fillViewport="true" >

         <TextView 
            android:id="@+id/textView2"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:singleLine="false"
            android:text="@string/secenek" />

     </ScrollView>

  </LinearLayout>

```

When i click the button i want to be able to use the scrollView to be able to read the rest of the text and i kept text long in string values but i couldn't create scrollView. Where am i doing wrong? Thx.

Answer: 
Replace \* to %, ? to \_ and use **LIKE** clause with resulting values.
To expand on @Oleg Dok's answer, which uses the little known fact that an underscore means the same as `%` but only for a single character and using PL\SQL I think the following is the simplest way to do it. A good description of how to use `connect by` is [here](http://psoug.org/reference/connectby.html).

```
declare

  cursor c_min_max( Crule varchar2 ) is
    select to_number(min(numb)) as min_n, to_number(max(numb)) as max_n
      from ( select '0000' as numb
               from dual
              union
             select lpad(level, 4, '0') as numb
               from dual
            connect by level <= 9999 )
     where to_char(numb) like replace(Crule, '?', '_');

  t_mm c_min_max%rowtype;

  l_rule varchar2(4) := '?091';

begin

  open c_min_max(l_rule);

  fetch c_min_max
    into t_mm;

  close c_min_max;

  for i in t_mm.min_n .. t_mm.max_n loop

    dbms_output.put_line(lpad(i, 4, '0'));

  end loop;

end;
/

```