Skip to content

Split function not working in RC1 #1184

@nrkarthick

Description

@nrkarthick

var temp = "123456-12569";
var test = temp.Split('-').Last();

After upgrading to RC1, split function gives the following error.

'StringValues' does not contain a definition for 'Split' and no extension method 'Split' accepting a first argument of type 'StringValues' could be found (are you missing a using directive or an assembly reference?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions