Giter VIP home page Giter VIP logo

str_me's Introduction

String Manipulation Library

This library provides a set of functions for manipulating strings in C. It includes functions for string length calculation, concatenation, copying, comparison, memory searching, and more.

Table of Contents

Functions

int Str_len(const char *str)

Calculate the length of a string.

char *Str_concatenate(const char *str1, const char *str2)

Concatenate two strings.

char *Str_copy(const char *Father, char *Child)

Copy a string to another.

char *Str_copy_n(const char *Father, char *Child, int n)

Copy up to 'n' characters from the source string to the destination string.

int Str_compare(const char *str1, const char *str2)

Compare two strings.

void *Str_memchr(const void *str, int c, int len)

Search for a character in a block of memory.

char *Str_concatenate_n(const char *str1, char *str2, int n)

Concatenate the first 'n' characters of str1 to str2.

void Str_swap(char *str1, char *str2)

Swap the contents of two strings.

long Str_string_to_integer(char *str, int base)

Converts a string representation of an integer to a long integer with a specified base.

char* Str_Revers_String(const char *str)

Reverses a string and returns the reversed string.

Usage

To use this library in your C project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/NaderMohamed325/Str_me

str_me's People

Contributors

nadermohamed325 avatar

Stargazers

Karim Fathi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.