Where(x => string. IEnumerable filteredList = input.Split(' ') If you need to remove items from the list without knowing their index but knowing the actual string, you can use LINQ's Where() to filter out the matching items: //Get the input from the user somehow String outputString = string.Join(" ", splitList) If you want to remove a specific element from the array, you could make the result of Split() a List by using ToList() instead and utilize the RemoveAt() method of the resulting List: List splitList = input.Split(' ').ToList() The resulting string array will look like this: //string = one This will return an array of string: string splitInput = input.Split(" ") ![]() For the column name enter 'Last Name', for the type of column choose calculated. Next, you are on the right track by using Split(). Instead of using a workflow why don't you use a calculated column in the list itself Go to the list > Click on Settings > Create Column. Power Automate has split(.) expression that will allow you to split a string by some character (and itll remove the character in the process). or Drag the Remove value from collection action to the point in the workflow when you want. Save money with our transparent approach to pricing Google Cloud's pay-as-you-go pricing offers automatic savings based on monthly usage and discounted rates for prepaid resources. ![]() ![]() string input = "one two three four five six" Click the Collection operations action group in the action toolbox. Even something like "input" is way better. First of all you need to write better variable names, string_ is a horrible name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |