Skip to content

Suggestion: Words #8

Description

@Crayder

Simply put, a word specifier ('w'). It will take everything up to a space or custom delimiter. It's basically like the string specifier when there are parameters after it but takes a specified amount of words.

Format: w<word count>[string size]

sscanf("bleh bleh teh faq yuu mein", "w<2>[24]w<4>[48]", words1, words2);
words1 will be "bleh bleh", words2 will be "teh faq yuu mein"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions