PowerApps String Manipulation

  Рет қаралды 37,372

Shane Young

Shane Young

Күн бұрын

Пікірлер: 75
@Foss3
@Foss3 3 жыл бұрын
Thanks Shane, I can always count on you
@ShanesCows
@ShanesCows 3 жыл бұрын
Any time!
@abberantgeck0
@abberantgeck0 2 жыл бұрын
I know this video has been around a long time, but it's great! Way to go Shane!
@borisayissi2945
@borisayissi2945 3 жыл бұрын
Thank you greatly Sir. It was of a great help to me. Keep the good job up
@dildgemckenzie8597
@dildgemckenzie8597 6 жыл бұрын
Another great informative video. Thanks for sharing Shane.
@ShanesCows
@ShanesCows 6 жыл бұрын
You are welcome. This is a great set of skills to develop.
@olabodeoluwagbemiga8661
@olabodeoluwagbemiga8661 Жыл бұрын
Very helpful. Thank you.
@ShanesCows
@ShanesCows Жыл бұрын
You are welcome, this was one of my favorite videos. 😎😎
@TheMKTube
@TheMKTube 2 жыл бұрын
This is amazing thank you. How about extracting just numbers from a string that contains all kinds of characters? Is there a function to get just numbers
@ShanesCows
@ShanesCows 2 жыл бұрын
I had never done it before but I was curious. I think this does what you want. :) Concat(MatchAll("T1M23333ex1212","\d"), FullMatch) T1M23333ex1212 is my string I was pulling from. :) It returned only the numbers.
@TheMKTube
@TheMKTube 2 жыл бұрын
@@ShanesCows Thanks Shane! 🙏You rock
@jesus.moreno
@jesus.moreno 6 жыл бұрын
Thank you Shane ... I really appreciate all your videos ... I'm learning a lot ... regards from PERU
@ShanesCows
@ShanesCows 6 жыл бұрын
Awesome. Thank you!
@jesus.moreno
@jesus.moreno 6 жыл бұрын
Shane Goog Evening ... I sent you en email ... I'm stock in a small issue. After a lot of hours I can;t get it right ... on my first Powerapp. My email is jesusmoreno1980@gmail.com ..I hope you can help me .... Thank you!!!!!!!!!
@JamesGuarin
@JamesGuarin 3 жыл бұрын
gracias muy buenos videos
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks 😊
@gerardosalazar2351
@gerardosalazar2351 6 жыл бұрын
Awesome as always!
@ShanesCows
@ShanesCows 6 жыл бұрын
THANKS!
@tausifjamkhandi1597
@tausifjamkhandi1597 6 жыл бұрын
Was eagerly waiting for ur new vdo, and as always this was very informative and helpful, thank you so much shane
@ShanesCows
@ShanesCows 6 жыл бұрын
You are welcome. Sorry for the delay. Been super busy.
@bertoso
@bertoso 2 жыл бұрын
Você é o melhor, valeu Shane! (you are the best, thank you very much)
@ShanesCows
@ShanesCows 2 жыл бұрын
Very kind of you. Thanks!
@ambujaable
@ambujaable 6 жыл бұрын
Thanks Shane :) very informative !
@ShanesCows
@ShanesCows 6 жыл бұрын
You are welcome
@GioraMeisler
@GioraMeisler 4 жыл бұрын
Hi Shane, thanks once more for a great tutorial. Is there a way to reverse words order in a string, without reversing the letters order within the words themselfs?
@ShanesCows
@ShanesCows 4 жыл бұрын
Probably. You would have to crate the logic but should be possible. Think about breaking on the space and building string from the letters between the spaces.
@carlilelance
@carlilelance 2 жыл бұрын
split() on the space character, put it in a table, create another table, pull the table values out in reverse order and put them into the second table (this is the hardest part), concat() back to single string.
@threewiseman1
@threewiseman1 4 жыл бұрын
Hi Shane, I'm wondering if I could use any combination of these to create a word count for a multiple lines text field? The obvious way to do this would be to "find all spaces" and count them, but I can't see any way to "Find All" in the documentation, it seems I can only find the first match from a location - as in this tutorial video. The Substitute function is awesome, btw, and will solve a different problem I was having.
@ShanesCows
@ShanesCows 4 жыл бұрын
Try it another way. Split the string on the space. This will create a table and you can count the rows for your word count
@threewiseman1
@threewiseman1 4 жыл бұрын
@@ShanesCows Thanks Shane! I actually figured this one out by co-opting an excel formula I found in a post way back when! Len(InsertMultilineDataCard.Text)-Len(Substitute(InsertMultilineDataCard.Text, " ", ""))+1 This formula subtracts the full string of text without spaces (The part where is substitutes " " for ""), from the full string of text with spaces. The difference between the two numbers gives you the word count...almost. I needed to add +1 because there is always one more word than there is spaces. Pretty nifty!
@danieljakobsen2861
@danieljakobsen2861 6 жыл бұрын
Hey Shane. This may be off topic, but i was wondering if it's possible to place a countdown timer in a gallery - and starting the countdown timer without affecting the different rows in the gallery? Been having difficulty activating one specific timer countdown in the gallery independently from the rest of the gallery timers. Hope you can help!
@ShanesCows
@ShanesCows 6 жыл бұрын
I don’t exactly follow what you are trying to do?
@viceilho5247
@viceilho5247 4 жыл бұрын
Hi Shane thanks for the tips! But this formula only works with text right? As I’ve tried to convert to value then the result returns as blank with no formula error. I’m pulling my hair now...
@viceilho5247
@viceilho5247 4 жыл бұрын
Silly me! I didn’t define the expectation for false value!
@ShanesCows
@ShanesCows 4 жыл бұрын
Glad you got it working. 🤩
@jwvicho
@jwvicho 4 жыл бұрын
Hi Shane Young, I’m finding values for 3 different calculated fields which has 2 decimals My formula is Right(field1.Text, Find(“.”, field1)) The Right & Find functions are working for field1 & field2 which return 2 digits numbers But not working for field3. field3 returns “.78” instead of just 2 digits numbers. How come behaviours are different?
@RachaelTheBlonde
@RachaelTheBlonde 6 жыл бұрын
Hello Shane. I was wondering if you would be able to help with an issue unrelated to strings. My company is using the newest version of the Common Data Service as our database to build PowerApps from. We would love to use the custom themes feature, but when we look at the system themes they are all in read-only. I cannot create a new theme, and when I copy a system theme it does show up as a new custom theme but still it is read-only. None of the fields can be edited. I know this is a rather new feature, but do you have any suggestions? At this point we are opening a ticket with Microsoft.
@ShanesCows
@ShanesCows 6 жыл бұрын
Hi Rachael - I haven’t used that feature yet. Sorry. Please let me know what you find out.
@kogzera
@kogzera 3 жыл бұрын
Hi Shane nice work. is there any way I can do this in a Radio? For example where it would take each item in a Sharepoint field and read each item up to the ";" so it would stay in each radio field until it found a ";" and go to the next field ?
@rosshill5314
@rosshill5314 4 жыл бұрын
Great video thanks Shane - is there a way to replace a string using something similar to wildcards. The string I want to manipulate appears multiple times in the overall text. It always starts/ends with the same text and is always the same length, but the Mid varies. Using Mid only seems to replace the first occurrence.
@ShanesCows
@ShanesCows 4 жыл бұрын
Ross I am not sure. I guess you could nest them? I haven't done this before.
@rosshill5314
@rosshill5314 4 жыл бұрын
@@ShanesCows Nesting works and a little creative HTML to 'hide' parts I don't want to appear in the final text - thanks!
@vineetarai2088
@vineetarai2088 5 жыл бұрын
Hi Shan, it's very informative video,when I am using share point list and I have store the value of month and year(concatenate) in one single line text field .When trying to use Left(monthyear,find(" ",Month year)) and show on default property of drop down list .So it's not give the result and on drop down list, I have used calender.monthlong().Please suggest.
@ShanesCows
@ShanesCows 5 жыл бұрын
That is tough. Use addcolumn function to create a new column with the output of your string function
@vineetarai2088
@vineetarai2088 5 жыл бұрын
@@ShanesCows Thanku so much Shane.
@bradhunnings5428
@bradhunnings5428 5 жыл бұрын
Hi Shane! Is there a way to use a technique similar to this to use formatting (bold, underline, font color, etc) in parts of strings? Example: Have a search text box and change the font color of a string only where the text matches what's in the search text box...
@ShanesCows
@ShanesCows 5 жыл бұрын
You would have to use the HTML control if you want to format the text like that
@sivajibandaru
@sivajibandaru 3 жыл бұрын
Hi Shane, Is there any way to convert to string(36). Thanks in advance Sivaji
@ShanesCows
@ShanesCows 3 жыл бұрын
Not that I know of
@ersulaigori9177
@ersulaigori9177 5 жыл бұрын
Hi Shane. I was watching this video in hopes to gain insight into how to manipulate strings in Microsoft flow. Flow only has the split and replace function but I can’t get it to work and there’s not much information out there to help. Can you do a video on how to use split and replace in Flow? Flow doesn’t have Left, Mid and Right functions. I am trying to take an email with appointment meeting details and extract the date/time out of the email’s message body. Then, with the date/time in a string, create a calendar invite in outlook. :)
@williamsneddon6937
@williamsneddon6937 5 жыл бұрын
Hi Shane, Fantastic video, is there a way to use the replace or other option to remove all spaces, this would be for creating an Email Alias, i.e. Test Mailbox One to TestMailBoxOne
@ShanesCows
@ShanesCows 4 жыл бұрын
The substitute fucntion does just this docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-replace-substitute
@BorisBrenner
@BorisBrenner 6 жыл бұрын
Hello Shane, once again a very interesting and practical video. Regarding your problem, wouldn't this be an alternative? (In this example I extract the second sentence, and because the "." is stripped out, I added it again) Last(FirstN(Split(TextInput3.Text; "."); 2)).Result & "."
@ShanesCows
@ShanesCows 6 жыл бұрын
I like it. 😎
@Thorkyn
@Thorkyn 4 жыл бұрын
Hi Shane, thanks a lot for your videos, it help me really. But i have a problem! I have a gallery with sql for data. I need to concatenate this gallery to a string. I have tried Forall(...;set(string; string & columns)), but i can't... Help! :)
@ShanesCows
@ShanesCows 4 жыл бұрын
This video talks more about Concat which is probably your best bet. kzbin.info/www/bejne/d5-og5l9fqprndk
@whoodiniiam
@whoodiniiam 6 жыл бұрын
shane is there sucha thing like powerapp macros i have to move from infopath and it willsuck
@ShanesCows
@ShanesCows 6 жыл бұрын
Can you give me an example of what the macro did in InfoPath?
@whoodiniiam
@whoodiniiam 6 жыл бұрын
naaah no i didnt have a macro there but as i was making my infopath forms i was thinking it would be nice if i could be spared a lot work by use of macros maybe its successor....I would also see it come in handy coz i have big form with a lot of text boxes that i would like to do them all manually
@daFrimpster
@daFrimpster 5 жыл бұрын
How would you apply these functions to a global variable value?
@nandocalix23
@nandocalix23 4 жыл бұрын
Uppercase?
@ShanesCows
@ShanesCows 4 жыл бұрын
Upper function
@Bence24Videos
@Bence24Videos 6 жыл бұрын
PowerApps is pretty nice, but seeing this makes me cringe. You could do any of these operations with a few lines of code in any programming language. Also, if you can wrap your head around this, then you can wrap your head around a for loop..
@ShanesCows
@ShanesCows 6 жыл бұрын
I would take the opposite point of view. Why would you write C# or some other code if you can do all of this with Excel like formulas and prebuilt controls? To each their own but I like PowerApps.
@Bence24Videos
@Bence24Videos 6 жыл бұрын
​@@ShanesCows That is fair. It's probably just that I'm used to programming, using variables and trying to produce neat looking code. Also, thank you for these tutorial videos! You deserve more subscribers.
@FullNappy
@FullNappy 3 жыл бұрын
It is unbelievably cumbersome to have to do this technique. If you have hundreds of sentences, this approach just isn't useful. I am amazed there isn't a more succinct way of doing this.
PowerApps Save Data - Patch, Collect, and ForAll
25:52
Shane Young
Рет қаралды 246 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
PowerApps Forms - LastSubmit, Updates, UnSaved
16:26
Shane Young
Рет қаралды 104 М.
30+ String Manipulation Techniques in C#
1:44:07
IAmTimCorey
Рет қаралды 104 М.
Correct String Initialization in C#
8:40
IAmTimCorey
Рет қаралды 32 М.
PowerApps Hide Button Based on User and other fun
23:44
Shane Young
Рет қаралды 125 М.
PowerApps User Function and intro to Office 365 User connector
14:09
PowerApps AddColumns ShowColumns
25:13
Shane Young
Рет қаралды 64 М.
Intro to the PowerApps If Statement
28:35
Shane Young
Рет қаралды 104 М.
Power Apps Date Calculations for Business Days
17:47
Reza Dorrani
Рет қаралды 45 М.