Tags » String

Red String Original Kabbalah Bracelet From Rachel's Tomb in Israel

The Red String provides protection from the envious eyes of strangers (also called the Evil Eye) and according to the Kabbalah is an important tool for removing the intrusive negative influences around us. 27 more words

♥BACK CUT-OUT PEPLUM TOP♥ (php330.00)

SWEET PURE COLOR BACK CUT-OUT DETAIL WITH WAIST STRING COTTON SPANDEX PEPLUM TOP

MEASUREMENTS
SHOULDER : 12″
BUST : 34″
WIDTH : 16″
LENGTH : 25″ 42 more words

Let there be string!

Making string from scrap fabric is so simple and pleasurable (and satisfies my love of using up every last scrap so well) that I’ve found myself making more string this week. 321 more words

Silk

Embroidery Floss Organizers

I’m pretty much in love with cute embroidery floss organizers. The wooden ones are too expensive for something I need a million of, but the ones you can print out onto card stock are pretty flimsy and don’t stay looking nice for long. 38 more words

Diy

DIY | Gift wrap.

I had a birthday party to attend, and I wanted to wrap the gift up differently, rather then the usual way. So here’s how i did it. 89 more words

DIY

C Program to Abbreviate a String

C Program to Abbreviate a String . Compiled in Dev C++

#include<stdio.h>
#include<string.h>
#include<conio.h>
void string_abbreviation(char [],char []);
main()
{
      char text,target;
      printf("\nProgram to Abbreviate a String \n");
      printf("\n--------------------------------\n\n\n");
      printf("Enter Text : ");                                                   
      gets(text);
      
      string_abbreviation(text,target);
      
      printf("\nAbbreviation of string '%s' is : %s",text,target);
      
      getch();
      
}


          
void string_abbreviation(char a[],char b[])
     {
       char *p;
       int length,i,k=0;
       length=strlen(a);
       
       b[k]=a[0];
       k++;
      
       
       for(i=0;i<length;i++)
       {
            p=&a[i];
            
          
            
            if(*p==' ')
            {
                
                b[k]=*(p+1);  
                k++;         
            }            
           
           
                              
        }  
        
        b[k]='\0';
        strupr(b);
          
     }

Output

WBUT Assignment

C Program to Find first occurrence of char with starting position

C Program to Find first occurrence of char with starting position.Compiled in Dev C++

#include<stdio.h>
#include<string.h>
#include<conio.h>
int First_Occurrence_Char(char [],char ,int);
main()
{
      char text,searchChar;
      int position,start;
      
       printf("\nProgram to Find first occurrence of char with starting position \n");
       printf("\n------------------------------------------------------------------\n\n\n");
       printf("Enter Text : ");                                                   
       gets(text);
       
       printf("\nSearched Char : ");
       scanf("%c",&searchChar);
       
       printf("\nStart From : ");
       scanf("%d",&start);
       
       
       position=First_Occurrence_Char(text,searchChar,start);
      
       printf("\nCharecter '%c'  in String '%s' starting at %d found at position %d ",searchChar,text,start,position);
       
       
       getch();
       
} 
      
           
int First_Occurrence_Char(char a[],char b,int start)

{
     
     int i;
     char *p;
     
     for(i=start;i<strlen(a);i++) 
     {
         p=&a[i];       
      
        
         
         if(*p==b)
         {
                  
                    break;
                 
         }
               
                              
     }    
     if(i==strlen(a))
     {
       return -1;                
     }
     else
     {
         return i;
     }
     
}

Output

WBUT Assignment